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 f426ac0 commit 7e7e01cCopy full SHA for 7e7e01c
.github/workflows/sync.yaml
@@ -0,0 +1,21 @@
1
+name: Update wiki
2
+on:
3
+ push:
4
+
5
+jobs:
6
+ update:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Update wiki
10
+ run: |
11
+ mkdir -p ~/.ssh
12
+ echo "$DEPLOY_KEY" > ~/.ssh/id_ed25519
13
+ chmod 600 ~/.ssh/id_ed25519
14
15
+ ssh-keyscan github.com > ~/.ssh/known_hosts
16
17
+ git clone --bare [email protected]:winapps-org/docs.git
18
+ git -C docs.git push --mirror [email protected]:winapps-org/winapps.wiki.git
19
+ env:
20
+ DEPLOY_KEY: "${{ secrets.DEPLOY_KEY }}"
21
0 commit comments