multipanel and adding figure captions #407
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
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" |