Switching to Dossier for docs

This commit is contained in:
Jonathan Johnson 2023-12-25 07:43:54 -08:00
parent 443c5b40d1
commit e813f168f8
No known key found for this signature in database
GPG key ID: A66D6A34D6620579

View file

@ -23,12 +23,13 @@ jobs:
run: |
cargo doc --no-deps --all-features --workspace
- name: Deploy Docs
uses: JamesIves/github-pages-deploy-action@releases/v4
- name: Deploy
uses: khonsulabs/sync-to-dossier@main
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/tags/')
with:
branch: gh-pages
folder: target/doc/
git-config-name: kl-botsu
git-config-email: botsu@khonsulabs.com
target-folder: /main/
clean: true
url: ${{ secrets.DOSSIER_URL }}
api-key-id: ${{ secrets.DOSSIER_API_KEY_ID }}
api-key: ${{ secrets.DOSSIER_API_KEY }}
project: gooey
from: target/doc/
to: /${{ github.ref_name }}/docs