We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d15936 commit 0e2f329Copy full SHA for 0e2f329
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,28 @@
1
+name: Deploy updated website
2
+
3
+on:
4
+ push
5
6
+jobs:
7
+ build:
8
+ steps:
9
+ - name: Checkout gbdev/gbdev.github.io
10
+ uses: actions/checkout@v2
11
+ with:
12
+ repository: gbdev/gbdev.github.io
13
+ path: folder
14
15
+ - uses: actions/setup-node@v1
16
17
+ node-version: '12'
18
19
+ - working-directory: folder/
20
+ run: |
21
+ mkdir -m 700 ~/.ssh
22
+ echo "${{ secrets.SSH_KEY_SECRET }}" > ~/.ssh/id_ed25519
23
+ chmod 0600 ~/.ssh/id_ed25519
24
+ git config --local user.name "GitHub Action"
25
+ npx vuepress build list
26
+ cp list/.vuepress/dist/* dist/ -r
27
+ cp CNAME dist/
28
+ npx gh-pages -d dist -b master
0 commit comments