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 0d5b9d5 + 039343c commit 87fac95Copy full SHA for 87fac95
.github/workflows/deploy.yml .github/workflows/build.yml.github/workflows/deploy.yml renamed to .github/workflows/build.yml
@@ -1,19 +1,21 @@
1
-name: Deploy to GitHub Pages
+name: Build
2
3
on:
4
- push:
5
- branches:
6
- - master
+ - push
+ - workflow_dispatch
+
7
+permissions:
8
+ contents: write
9
10
jobs:
11
deploy:
- name: Deploy to GitHub Pages
12
+ name: Build
13
runs-on: ubuntu-latest
14
steps:
15
- uses: actions/checkout@v2
16
- uses: actions/setup-node@v3
17
with:
- node-version: 14.x
18
+ node-version: 16.x
19
20
- name: Install dependencies
21
run: npm install
@@ -22,6 +24,7 @@ jobs:
22
24
run: npm run build
23
25
26
27
+ if: github.ref == 'refs/heads/master'
28
uses: peaceiris/actions-gh-pages@v3
29
30
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments