We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4ae049 commit 994d3b2Copy full SHA for 994d3b2
.github/workflows/build_docs.yml
@@ -32,8 +32,12 @@ jobs:
32
with:
33
name: html-docs
34
path: _build/html # Path to your built documentation
35
- - name: Trigger Read the Docs build (using webhook)
36
- run: |
37
- # Replace with your actual Read the Docs webhook URL and token
38
- curl -X POST -d "{}" ${{ secrets.RTDS_WEBHOOK_URL }} -H "Authorization: token ${{ secrets.RTDS_WEBHOOK_TOKEN }}"
39
-
+ - name: Deploy to GitHub Pages
+ uses: peaceiris/actions-gh-pages@v3
+# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
+ if: ${{ github.event_name == 'push' }}
+ with:
40
+ publish_branch: gh-pages
41
+ github_token: ${{ secrets.GITHUB_TOKEN }}
42
+ publish_dir: _build/
43
+ force_orphan: true
0 commit comments