diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index aadc760..6562309 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 \ No newline at end of file + 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 \ No newline at end of file