We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0611c6 commit 9a3d53cCopy full SHA for 9a3d53c
.github/workflows/deploy.yml
@@ -0,0 +1,23 @@
1
+name: Deploy
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v1
14
+ - name: Install dependencies
15
+ run: yarn
16
+ - name: Build website
17
+ run: yarn build
18
+ - uses: netlify/actions/cli@master
19
+ with:
20
+ args: deploy --dir=dist/ --prod
21
+ env:
22
+ NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
23
+ NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
0 commit comments