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.
2 parents f27140e + 7fb42e9 commit 8ce20f0Copy full SHA for 8ce20f0
.github/workflows/documentation.yaml
@@ -0,0 +1,31 @@
1
+# https://coderefinery.github.io/documentation/gh_workflow/
2
+
3
+name: 📖 Docs
4
+on:
5
+ - push
6
+ - pull_request
7
+ - workflow_dispatch
8
9
+permissions:
10
+ contents: write
11
12
+jobs:
13
+ docs:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - uses: actions/setup-python@v3
18
+ - name: Install dependencies
19
+ run: |
20
+ pip install sphinx sphinx_rtd_theme
21
+ - name: Sphinx build
22
23
+ sphinx-build docs _build
24
+ - name: Deploy
25
+ uses: peaceiris/actions-gh-pages@v3
26
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
27
+ with:
28
+ publish_branch: gh-pages
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
30
+ publish_dir: _build/
31
+ force_orphan: true
0 commit comments