Skip to content

Commit

Permalink
Merge branch 'main' of github.com:zhengw0426/mybook into main
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengw0426 committed Jul 21, 2024
2 parents 4d7dfe8 + a31a115 commit ccbf942
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,18 @@ jobs:
- uses: taiki-e/install-action@mdbook
- uses: actions/upload-pages-artifact@v1
with:
path: mybook/book
path: book
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-22.04
if: github.repository == 'zhengw0426/mybook'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit ccbf942

Please sign in to comment.