Skip to content

Commit d257feb

Browse files
authored
Add GitHub Actions workflow for site deployment
Signed-off-by: Lee Calcote <[email protected]>
1 parent 7529e61 commit d257feb

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build and Deploy Site
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths:
7+
- 'site/**'
8+
workflow_dispatch:
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
build-and-deploy:
14+
runs-on: ubuntu-24.04
15+
steps:
16+
- name: Checkout 🛎️
17+
uses: actions/checkout@v6
18+
- name: Install and Build 🔧
19+
working-directory: site
20+
run: |
21+
make setup
22+
make build
23+
24+
- name: Deploy 🚀
25+
uses: JamesIves/github-pages-deploy-action@v4
26+
with:
27+
branch: site # The branch the action should deploy to.
28+
folder: site/public # The folder the action should deploy.
29+
clean: true

0 commit comments

Comments
 (0)