Skip to content

Commit

Permalink
github: action: docs: Move documentation from root to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulTrombin committed Nov 6, 2023
1 parent 47c08c6 commit 6d61ac2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ jobs:
override: true
- name: Build docs
run: cargo doc
- name: Move documentation
run: mkdir -p pages/doc && mv target/doc/* pages/doc/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
publish_dir: ./pages

deploy:
needs: build
Expand Down

0 comments on commit 6d61ac2

Please sign in to comment.