itk-snap 4.2.0 #35 #54
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: Quarto Publish | |
on: | |
push: | |
branches: main #toname to main to build quarto/templates | |
workflow_dispatch: | |
jobs: | |
build-deploy: | |
if: "contains(github.event.head_commit.message, 'CI')" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Install Quarto | |
uses: quarto-dev/quarto-actions/setup@v2 | |
- run: | | |
quarto --version | |
- name: Publish to GitHub Pages t00 | |
uses: quarto-dev/quarto-actions/publish@v2 | |
with: | |
target: gh-pages | |
path: quarto/templates | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |