mirror of
https://github.com/doocs/advanced-java.git
synced 2025-01-29 06:40:29 +08:00
feat: create sync actions
添加 GitHub Actions,自动将 GitHub 仓库推送到 Gitee,并自动部署 Pages
This commit is contained in:
parent
0f27288785
commit
9761a40961
26
.github/workflows/sync.yml
vendored
Normal file
26
.github/workflows/sync.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Sync
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Sync to Gitee
|
||||
uses: wearerequired/git-mirror-action@master
|
||||
env:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
|
||||
with:
|
||||
source-repo: "git@github.com:doocs/advanced-java.git"
|
||||
destination-repo: "git@gitee.com:Doocs/advanced-java.git"
|
||||
|
||||
- name: Rebuild Gitee Pages
|
||||
uses: mizuka-wu/gitee-pages-action@v1.0.0
|
||||
with:
|
||||
repository: doocs/advanced-java
|
||||
cookie: ${{ secrets.GITEE_COOKIE }}
|
||||
branch: master
|
@ -16,7 +16,7 @@
|
||||
|
||||
学习之前,先来看看 [Issues 讨论区](https://github.com/doocs/advanced-java/issues/9#issue-394275038)的技术面试官是怎么说的吧。本项目也欢迎各位开发者朋友到 [Issues 讨论区](https://github.com/doocs/advanced-java/issues)分享自己的一些想法和实践经验,参与或加入 Doocs 开源社区请看[这里](https://github.com/doocs/advanced-java/issues/61),你也访问 [GitHub Page](https://doocs.github.io) 详细了解一下 Doocs。
|
||||
|
||||
[另外,我还将在这里更新内容,感兴趣的朋友可以进来看看](/docs/extra-page/subscriptions-for-doocs.md),深入源码学习请关注[“源码猎人”项目](https://github.com/doocs/source-code-hunter),LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》题解,尽在 [leetcode 项目](https://github.com/doocs/leetcode)!
|
||||
[另外,我还将在这里更新内容,感兴趣的朋友可以进来看看](/docs/extra-page/subscriptions-for-doocs.md),深入源码学习请关注[“源码猎人”项目](https://github.com/doocs/source-code-hunter),LeetCode、《剑指 Offer(第 2 版)》、《程序员面试金典(第 6 版)》等笔面试高频题题解,尽在 [leetcode 项目](https://github.com/doocs/leetcode)!
|
||||
|
||||
## 高并发架构
|
||||
### [消息队列](./docs/high-concurrency/mq-interview.md)
|
||||
|
Loading…
Reference in New Issue
Block a user