Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Apr 20, 2023
1 parent d973613 commit 72c93a1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Release

"on":
pull_request:
types: [opened, synchronize, reopened]

jobs:
release-documentation:
name: Deploy Documentation to GitHub Pages
needs: test
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
defaults:
run:
working-directory: docs
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/site
user_name: QubitPi
user_email: jack20191124@proton.me

0 comments on commit 72c93a1

Please sign in to comment.