Skip to content

make a quarto site

make a quarto site #1

Workflow file for this run

# https://github.com/quarto-dev/quarto-actions/blob/main/examples/quarto-publish-example.yml

Check failure on line 1 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 1
on:
push:
branches: main
name: Render and Publish
jobs:
build-deploy:
name: "Build and deploy"
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Render the website
run: |
quarto render
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site