Skip to content

Commit

Permalink
Add gh actions to auto generate website
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuwen Gu committed Feb 13, 2025
1 parent 546b897 commit 8134ddb
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 570 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish to GitHub Pages

on:
push:
branches:
- main

jobs:
publish:
runs-on: self-hosted
steps:
- name: Check out
uses: actions/checkout@v4

- name: Build the site
run: ./utils/build.sh

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
Loading

0 comments on commit 8134ddb

Please sign in to comment.