FIX: Fix pinning of xradar and xarray #1476
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-deploy-site | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# This job installs dependencies, build the website, and pushes it to `gh-pages` | |
jobs: | |
deploy-website: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v4 | |
# Create environment using micromamba | |
- name: Install Conda environment with Micromamba | |
uses: mamba-org/[email protected] | |
with: | |
environment-file: doc/environment.yml | |
micromamba-version: '2.0.0-0' | |
environment-name: pyart-docs | |
cache-downloads: false | |
- name: Fetch all history for all tags and branches | |
run: | | |
git fetch --prune --unshallow | |
- name: Install PyART | |
run: | | |
pip install -e . | |
# Build the website | |
- name: Build the site | |
run: | | |
cd doc | |
make html | |
# Push the book's HTML to github-pages | |
- name: GitHub Pages action | |
uses: peaceiris/[email protected] | |
if: github.ref == 'refs/heads/main' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: doc/build/html | |
cname: https:/arm-doe.github.io/pyart/ |