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 a3fd04f commit 3d209faCopy full SHA for 3d209fa
.github/workflows/gh-pages.yml
@@ -0,0 +1,29 @@
1
+name: Pages
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Setup python
11
+ uses: actions/setup-python@v2
12
+ - name: Checkout
13
+ uses: actions/checkout@master
14
+ with:
15
+ fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
16
+ - name: Install dependencies
17
+ run: |
18
+ python --version
19
+ python -m pip install --upgrade pip
20
+ python -m pip install -r requirements/requirements.txt
21
+ - name: Build and Commit
22
+ uses: sphinx-notes/pages@v2
23
24
+ requirements_path: ./docs/doc_requirements.txt
25
+ - name: Push changes
26
+ uses: ad-m/github-push-action@master
27
28
+ github_token: ${{ secrets.GITHUB_TOKEN }}
29
+ branch: gh-pages
0 commit comments