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 3ad76d2 commit aeccd4eCopy full SHA for aeccd4e
.github/workflows/build.yml
@@ -0,0 +1,35 @@
1
+name: Build and Deploy
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - "main"
8
+ workflow_dispatch:
9
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - uses: ruby/setup-ruby@v1
17
+ with:
18
+ bundler-cache: true
19
+ - run: make build
20
+ - uses: actions/upload-pages-artifact@v3
21
+ id: upload-artifact
22
23
+ path: "_site/"
24
25
+ deploy:
26
+ if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
27
+ environment:
28
+ name: github-pages
29
30
+ needs: build
31
+ permissions:
32
+ pages: write
33
+ id-token: write
34
35
+ - uses: actions/deploy-pages@v4
0 commit comments