Bump actions/upload-artifact from 4.3.0 to 4.3.1 #198
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: Docs | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
permissions: | |
contents: write | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
name: Build and deploy | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
with: | |
persist-credentials: false | |
- name: Setup Conda (Micromamba) | |
uses: mamba-org/[email protected] | |
with: | |
cache-downloads: true | |
environment-file: environment-docs.yml | |
- name: Install xdatasets (docs) | |
run: | | |
python -m ipykernel install --user --name=xdatasets | |
pip install --editable ".[docs]" | |
- name: Check versions | |
run: | | |
pip check || true | |
- name: Build docs | |
shell: bash -l {0} | |
run: | | |
make docs | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs/_build/en/html # The folder the action should deploy. |