fix: correct location of actions

This commit is contained in:
Youwen Wu 2025-06-08 14:23:46 -07:00
parent bf9848f04c
commit 5e3565342c
Signed by: youwen
GPG key ID: 865658ED1FE61EC3

23
.github/workflows/pages.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public