Update docs.yml
This commit is contained in:
1 parent
1f1de4d822
commit
5f7daedc5d
1 file changed
+8
-5
@@ -22,9 +22,12 @@ jobs:
|
|||||||
|
|
||||||
- run: cd docs && mdbook build
|
- run: cd docs && mdbook build
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy 🚀
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: JamesIves/github-pages-deploy-action@v4.2.3
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
branch: gh-pages # The branch the action should deploy to.
|
||||||
publish_dir: ./docs/book
|
folder: docs/book # The folder the action should deploy.
|
||||||
|
target-folder: docs/nightly/cli
|
||||||
|
repository-name: dioxuslabs/docsite
|
||||||
|
clean: false
|
||||||
|
token: ${{ secrets.DEPLOY_KEY }} # let's pretend I don't need it for now
|
||||||
Reference in new issue
Block a user