ignore tmp file #199
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: doc to github pages | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
doc: | |
runs-on: ubuntu-latest | |
container: | |
image: tgoelles/pointcloudset_base:latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: install pointcloudset | |
run: | | |
pip install -e . | |
conda info | |
conda list | |
pandoc --version | |
- name: make doc | |
run: make doc | |
- name: add .nojekyll | |
run: touch doc/sphinx/build/html/.nojekyll | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: doc/sphinx/build/html | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |