We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4b7729 commit 1c00400Copy full SHA for 1c00400
.github/workflows/deploy.yml
@@ -0,0 +1,33 @@
1
+name: Build and Deploy site
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout
14
+ uses: actions/checkout@v1
15
+ - name: Install
16
+ uses: borales/actions-yarn@v2.0.0
17
+ with:
18
+ cmd: install
19
+ - name: Build
20
21
22
+ cmd: build
23
+ - name: Install SSH Client
24
+ uses: webfactory/ssh-agent@v0.2.0
25
26
+ ssh-private-key: ${{ secrets.DEPLOY_KEY }}
27
+ - name: Deploy
28
+ uses: JamesIves/github-pages-deploy-action@releases/v3
29
30
+ SSH: true
31
+ BRANCH: gh-pages
32
+ FOLDER: 'dist'
33
+ CLEAN: true
0 commit comments