Skip to content

Commit

Permalink
Update Github Actions to run without Docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
evetion committed Sep 18, 2024
1 parent 4338a2e commit 8ad48ed
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
on:
workflow_dispatch:
push:
branches:
[main]
name: Render
name: Quarto Publish
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 }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v2
- uses: quarto-dev/quarto-actions/render@v2
- name: Deploy
uses: peaceiris/actions-gh-pages@v3

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_branch: gh-pages
commit_message: 'Deploy commit: ${{ github.event.head_commit.message }}'
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ libs/

/.quarto/
docs
/_site/
2 changes: 1 addition & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ book:
description: |
An introductory resource for working with geographic data in Julia
#cover-image: https://geocompx.org/static/img/book_cover_py_tmp_small.png
site-url: https://jl.geocompx.org
site-url: https://geocompx.github.io/geocompjl/
repo-url: https://github.com/geocompx/geocompjl/
repo-branch: main
repo-actions: [edit]
Expand Down

0 comments on commit 8ad48ed

Please sign in to comment.