fixing docs generation and publishing
This commit is contained in:
parent
501e1d6fb4
commit
da92bbd9c0
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -42,16 +42,16 @@ jobs:
|
|||||||
run: cargo doc --no-deps --document-private-items
|
run: cargo doc --no-deps --document-private-items
|
||||||
|
|
||||||
- name: Move Docs to Staging Directory
|
- name: Move Docs to Staging Directory
|
||||||
run: mv target/doc www/dist/
|
run: mv target/doc draught_web/www/dist/
|
||||||
|
|
||||||
- name: Move CNAME file to Staging Directory
|
- name: Move CNAME file to Staging Directory
|
||||||
run: mv docs/CNAME www/dist
|
run: mv docs/CNAME draught_web/www/dist
|
||||||
|
|
||||||
- name: Deploy To Pages
|
- name: Deploy To Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./www/dist
|
publish_dir: ./draught_web/www/dist
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user