Skip to content

Commit

Permalink
change pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sauljabin committed Jul 11, 2024
1 parent b4c0d16 commit 157bc5f
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: "latest"
# - name: Setup mdBook
# uses: peaceiris/actions-mdbook@v2
# with:
# mdbook-version: "latest"
- name: Install Dependencies
run: cargo install mdbook mdbook-alerts
- name: Generating Statics Files
run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.RELEASE_ACCESS_TOKEN }}
publish_dir: ./book
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v4
# if: ${{ github.ref == 'refs/heads/main' }}
# with:
# github_token: ${{ secrets.RELEASE_ACCESS_TOKEN }}
# publish_dir: ./book

0 comments on commit 157bc5f

Please sign in to comment.