Skip to content

Commit

Permalink
fix yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Jun 5, 2024
1 parent cd142e5 commit 4a0d3cc
Showing 1 changed file with 20 additions and 22 deletions.
42 changes: 20 additions & 22 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
# https://github.com/quarto-dev/quarto-actions/blob/main/examples/quarto-publish-example.yml
on:
push:
branches: main
branches: main

name: Render and Publish
name: Render and Publish

jobs:
build-deploy:
name: "Build and deploy"
runs-on: ubuntu-latest
defaults:
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
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: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render the website
run: |
quarto render
- name: Render the website
run: quarto render

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site

0 comments on commit 4a0d3cc

Please sign in to comment.