Update main.yaml #11
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: Render | |
jobs: | |
bookdown: | |
name: GH-Pages | |
runs-on: ubuntu-latest | |
container: ghcr.io/geocompx/docker:julia | |
defaults: | |
run: | |
shell: bash -l {0} | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Render | |
run: | | |
whereis julia | |
# installkernel("Julia nodeps", "–depwarn=no"); using Pkg; Pkg.add("Revise")' | |
julia -e 'using Pkg; Pkg.add("IJulia")' | |
julia -e 'using IJulia' | |
# RUN julia -e 'using IJulia; notebook()' | |
julia -e 'using Pkg; Pkg.add("Revise")' | |
quarto check jupyter | |
quarto render | |
ls docs | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs | |
publish_branch: gh-pages | |
commit_message: 'Deploy commit: ${{ github.event.head_commit.message }}' |