Creating a roadmap for project team initiation (#67) #52
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: Deploy | |
on: | |
push: | |
paths: | |
- 'docs/**' | |
- '.github/workflows/deploy.yaml' | |
- 'environment.yml' | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setupconda | |
- name: Build book | |
run: | | |
jupyter-book build docs/ | |
- name: Publish to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
personal_token: ${{ secrets.GH_PAT }} | |
publish_dir: docs/_build/html | |
publish_branch: gh-pages | |
cname: guidebook.hackweek.io |