We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0b2693 + 5318cfe commit f3418d9Copy full SHA for f3418d9
.github/workflows/ghpages.yml
@@ -0,0 +1,33 @@
1
+name: Build and Deploy
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
10
11
+concurrency:
12
+ group: ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress: true
14
15
+jobs:
16
+ build-and-publish:
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v4
21
22
+ - name: Install and Build
23
+ run: |
24
+ cd interactive
25
+ npm install
26
+ npm run build
27
28
+ - name: Deploy
29
+ uses: JamesIves/[email protected]
30
+ with:
31
+ branch: ghpages
32
+ folder: interactive/build
33
+ if: github.event_name == 'push'
0 commit comments