mirror of
https://github.com/danbulant/cushy
synced 2026-06-19 22:41:10 +00:00
Switching to Dossier for docs
This commit is contained in:
parent
443c5b40d1
commit
e813f168f8
1 changed files with 9 additions and 8 deletions
17
.github/workflows/docs.yml
vendored
17
.github/workflows/docs.yml
vendored
|
|
@ -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
|
||||
Loading…
Reference in a new issue