We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d55cb97 commit 522366eCopy full SHA for 522366e
.github/workflows/sync.yml
@@ -0,0 +1,26 @@
1
+name: Sync
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
13
+ - name: Sync to Gitee
14
+ uses: wearerequired/git-mirror-action@master
15
+ env:
16
+ SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
17
+ with:
18
+ source-repo: "git@github.com:doocs/coding-interview.git"
19
+ destination-repo: "git@gitee.com:Doocs/coding-interview.git"
20
21
+ - name: Rebuild Gitee Pages
22
+ uses: mizuka-wu/gitee-pages-action@v1.0.0
23
24
+ repository: doocs/coding-interview
25
+ cookie: ${{ secrets.GITEE_COOKIE }}
26
+ branch: master
0 commit comments