Skip to content

Commit

Permalink
modify publish-docs github action
Browse files Browse the repository at this point in the history
  • Loading branch information
bkp7 committed Nov 19, 2023
1 parent 5fd818d commit 50b3bbd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
File renamed without changes.
19 changes: 19 additions & 0 deletions .github/workflows/publish-docs2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish docs to GitHub Pages

on:
push:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run docs
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 50b3bbd

Please sign in to comment.