Skip to content

Commit

Permalink
fix docs deploy CI
Browse files Browse the repository at this point in the history
  • Loading branch information
profi248 authored Sep 11, 2022
1 parent 48f05c9 commit 487bdc6
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,21 @@ env:

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/configure-pages@v2
- name: Install mdBook
run: cargo install mdbook --no-default-features --features search --vers "^0.4" --locked
- name: Build mdBook
run: mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'book'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
- uses: actions/checkout@v3
- uses: actions/configure-pages@v2
- name: Install mdBook
run: cargo install mdbook --no-default-features --features search --vers "^0.4" --locked
- name: Build mdBook
run: mdbook build specification
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'specification/book'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 487bdc6

Please sign in to comment.