Skip to content

Commit 18b633f

Browse files
committed
Add GitHub Pages website and deploy CI
1 parent 8afe869 commit 18b633f

4 files changed

Lines changed: 481 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy GitHub Pages
2+
3+
# Publishes the static site in website/ to the gh-pages branch
4+
# whenever the website (or this workflow) changes on master.
5+
6+
on:
7+
push:
8+
branches: [master]
9+
paths:
10+
- 'website/**'
11+
- '.github/workflows/pages.yml'
12+
workflow_dispatch:
13+
14+
permissions:
15+
contents: write
16+
17+
concurrency:
18+
group: pages-deploy
19+
cancel-in-progress: true
20+
21+
jobs:
22+
deploy:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
28+
- name: Publish website/ to gh-pages
29+
uses: peaceiris/actions-gh-pages@v4
30+
with:
31+
github_token: ${{ secrets.GITHUB_TOKEN }}
32+
publish_dir: ./website
33+
publish_branch: gh-pages
34+
# keep_files is false: gh-pages will mirror website/ exactly
35+
user_name: 'github-actions[bot]'
36+
user_email: 'github-actions[bot]@users.noreply.github.com'
37+
commit_message: 'Deploy website from ${{ github.sha }}'

website/.nojekyll

Whitespace-only changes.

website/favicon.svg

Lines changed: 7 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)