small change to qpe grid for pyart ODIM writer consistency #22
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: | |
- master | |
pull_request: | |
branches: | |
- master | |
permissions: | |
contents: write | |
# 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@v2 | |
# Create environment using micromamba | |
- name: Install Conda environment with Micromamba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: docs/environment.yml | |
environment-name: rainforest-docs | |
cache-downloads: true | |
- name: Fetch all history for all tags and branches | |
run: | | |
git fetch --prune --unshallow | |
- name: Install rainforest | |
run: | | |
pip install -e . | |
# Build the website | |
- name: Build the site | |
run: | | |
cd docs | |
make html | |
env: | |
AWS_KEY: ${{ secrets.AWS_KEY }} | |
RAINFOREST_DATAPATH: ${{github.workspace}}/rainforest_data | |
# Push the book's HTML to github-pages | |
- name: GitHub Pages action | |
uses: peaceiris/actions-gh-pages@v3.8.0 | |
if: github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/build/html | |
cname: https:/meteoswiss.github.io/rainforest/ |