We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdb9796 commit 3fe712eCopy full SHA for 3fe712e
.github/workflows/sync.yml
@@ -5,7 +5,7 @@ on:
5
branches: [ master ]
6
7
jobs:
8
- build:
+ sync:
9
runs-on: ubuntu-latest
10
steps:
11
- name: Sync to gitee.com
@@ -18,7 +18,7 @@ jobs:
18
19
- name: Set ssh environment
20
env:
21
- SSH_PRIVATE_KEY: ${{ secrets.RSA_PRIVATE_KEY }}
+ SSH_PRIVATE_KEY: ${{ secrets.CODING_RSA_PRIVATE_KEY }}
22
run: |
23
mkdir -p ~/.ssh/
24
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
@@ -33,6 +33,4 @@ jobs:
33
cd /tmp
34
git clone git@github.com:doocs/leetcode.git leetcode
35
cd leetcode
36
- git checkout master
37
- git remote add coding git@e.coding.net:doocs/leetcode.git
38
- git push coding master
+ git remote add coding git@e.coding.net:doocs/leetcode.git
0 commit comments