mirror of
https://github.com/vale981/hopsflow
synced 2025-03-04 16:31:38 -05:00
publish to gh-pages
This commit is contained in:
parent
05071ade50
commit
07f496d4ea
1 changed files with 11 additions and 2 deletions
13
.github/workflows/default.yml
vendored
13
.github/workflows/default.yml
vendored
|
@ -7,7 +7,6 @@ on:
|
|||
|
||||
jobs:
|
||||
build-docs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
container: sphinxdoc/sphinx:latest
|
||||
steps:
|
||||
|
@ -16,11 +15,21 @@ jobs:
|
|||
- run: pip install -r requirements.txt
|
||||
- run: cd docs && make html
|
||||
|
||||
- uses: actions/upload-artifact@v1
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: DocumentationHTML
|
||||
path: docs/build/html/
|
||||
|
||||
- name: Publish to GitHub Pages
|
||||
if: success()
|
||||
uses: crazy-max/ghaction-github-pages@v2
|
||||
with:
|
||||
target_branch: gh-pages
|
||||
build_dir: docs/build/html
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
# # Publish built docs to gh-pages branch.
|
||||
# # ===============================
|
||||
# - name: Commit documentation changes
|
||||
|
|
Loading…
Add table
Reference in a new issue