Thanks to visit codestin.com Credit goes to github.com
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 3e4498d commit f12d58dCopy full SHA for f12d58d
.github/workflows/deploy-previews.yml
@@ -0,0 +1,27 @@
1
+name: Generate Deploy Preview
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ master ]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Setup Python
13
+ uses: actions/[email protected]
14
+ with:
15
+ python-version: 3.7
16
+ - name: Build documentation
17
+ run: |
18
+ make venv
19
+ make html
20
+ working-directory: Doc
21
+ - name: Deploy to GitHub Pages
22
+ uses: JamesIves/[email protected]
23
24
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
+ BRANCH: gh-pages
26
+ FOLDER: Doc/build/build
27
+ TARGET_FOLDER: ${{ GITHUB_SHA }}
0 commit comments