Skip to content

Commit b6ae6d9

Browse files
authored
Merge pull request #31 from gjkennedy/website
Website
2 parents ff6610f + 9ea8087 commit b6ae6d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+22566
-0
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'website/**'
8+
workflow_dispatch:
9+
10+
jobs:
11+
deploy:
12+
name: Deploy to GitHub Pages
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 18
22+
cache: npm
23+
cache-dependency-path: website/package-lock.json
24+
25+
- name: Install dependencies
26+
working-directory: ./website
27+
run: npm ci
28+
29+
- name: Build website
30+
working-directory: ./website
31+
run: npm run build
32+
33+
- name: Deploy to GitHub Pages
34+
uses: peaceiris/actions-gh-pages@v3
35+
with:
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
publish_dir: ./website/build
38+
user_name: github-actions[bot]
39+
user_email: github-actions[bot]@users.noreply.github.com
40+

0 commit comments

Comments
 (0)