Skip to content

raster intersection #421

raster intersection

raster intersection #421

Workflow file for this run

on:
push:
branches:
[main]
name: Convert
jobs:
bookdown:
name: Convert
runs-on: ubuntu-latest
container: ghcr.io/geocompx/docker:python
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Convert-and-push
if: contains(github.event.head_commit.message, 'convert')
run: |
pip3 install jupytext
# Convert .qmd files to .ipynb and .py files, see convert.sh
./convert.sh
- name: Commit-and-push
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git status
git config user.name github-actions
git config user.email [email protected]
git add *.ipynb
git add *.py
git commit -m 'Re-build .ipynb and .py files' || echo "No changes to commit"
git push origin || echo "No changes to commit"