Workaround for broken actions build/wheel installation #275
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy Sphinx Documentation | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v2 | |
- name: Build Sphinx docs | |
run: make depend && make doc | |
- name: Add files for github pages | |
run: | | |
touch docs/build/html/.nojekyll | |
echo mininet-optical.org > docs/build/html/CNAME | |
- name: Upload html-docs artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: html-docs | |
path: docs/build/html | |
- name: Deploy to github pages | |
uses: peaceiris/actions-gh-pages@v3 | |
if: github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/build/html |