Trying backslash and double quotes #6
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 documentation | |
on: | |
push: | |
branches: [ spatial_study ] | |
pull_request: | |
branches: [ spatial_study ] | |
permissions: | |
contents: write | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: mamba-org/setup-micromamba@v1 | |
with: | |
micromamba-version: '1.5.8-0' # any version from https://github.com/mamba-org/micromamba-releases | |
environment-file: "Raw\ Data\ Processing/docs/docs_environment.yml" | |
init-shell: bash | |
cache-environment: true | |
post-cleanup: 'all' | |
generate-run-shell: false | |
- name: Sphinx build | |
run: | | |
sphinx-build 'Raw Data Processing/docs' _build | |
shell: bash -el {0} | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/spatial_study' }} | |
with: | |
publish_branch: gh-pages | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: _build/ | |
force_orphan: true |