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.
1 parent d543f6b commit 163d8d3Copy full SHA for 163d8d3
.github/workflows/gh_pages.yml
@@ -0,0 +1,24 @@
1
+name: GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # Set a branch name to trigger deployment
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-20.04
11
+ concurrency:
12
+ group: ${{ github.workflow }}-${{ github.ref }}
13
+ steps:
14
+ - uses: actions/checkout@v3
15
+ - name: NPM install
16
+ run: npm ci
17
+ - name: NPM Build
18
+ run: npm run build
19
+ - name: Deploy
20
+ uses: peaceiris/actions-gh-pages@v3
21
+ if: ${{ github.ref == 'refs/heads/main' }}
22
+ with:
23
+ github_token: ${{ secrets.GITHUB_TOKEN }}
24
+ publish_dir: ./public
0 commit comments