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 9ee0dfc commit 4f9178aCopy full SHA for 4f9178a
.github/workflows/publish.yml
@@ -0,0 +1,27 @@
1
+name: Publish Site on GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-node@v4
15
+ with:
16
+ node-version: 20.x
17
+ - name: npm install and build and deploy
18
+ env:
19
+ AIRTABLE_TOKEN: ${{ secrets.AIRTABLE_TOKEN }}
20
+ AIRTABLE_SCD_BASE_ID: ${{ secrets.AIRTABLE_SCD_BASE_ID }}
21
+ run: |
22
+ npm install
23
+ npm run build-pages
24
+ - uses: peaceiris/actions-gh-pages@v4
25
26
+ github_token: ${{ secrets.GITHUB_TOKEN }}
27
+ publish_dir: ./public
0 commit comments