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.
2 parents fdfd08e + fe317f3 commit 854b3dbCopy full SHA for 854b3db
.github/workflows/netlify.yml
@@ -0,0 +1,28 @@
1
+name: Build and Deploy to Netlify
2
+on:
3
+ push:
4
+ pull_request:
5
+ types: [opened, synchronize]
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-18.04
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+
12
+ - name: Setup Perl
13
+ uses: shogo82148/actions-setup-perl@v1
14
+ with:
15
+ perl-version: '5.30'
16
17
+ - name: Build
18
+ run: make build
19
20
+ - name: Deploy to Netlify
21
+ uses: nwtgck/actions-netlify@v1.0
22
23
+ publish-dir: './public'
24
+ github-token: ${{ secrets.GITHUB_TOKEN }}
25
+ deploy-message: "Deploy from GitHub Actions"
26
+ env:
27
+ NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
28
+ NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
0 commit comments