fixing docs generation and publishing

This commit is contained in:
Andy Pack 2024-02-01 18:56:29 +00:00
parent 501e1d6fb4
commit da92bbd9c0
Signed by: sarsoo
GPG Key ID: A55BA3536A5E0ED7

View File

@ -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