Skip to content

fix(ci): change talks render path to github-pages #15

fix(ci): change talks render path to github-pages

fix(ci): change talks render path to github-pages #15

Workflow file for this run

# from Dustin's repo https://github.com/dabreegster/talks/tree/main/.github/workflows

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

View workflow run for this annotation

GitHub Actions / .github/workflows/pages.yml

Invalid workflow file

You have an error in your yaml syntax on line 1
name: Deploy slides
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install quarto
run: |
wget https://github.com/quarto-dev/quarto-cli/releases/download/v0.9.4/quarto-0.9.4-linux-amd64.deb
sudo dpkg -i quarto-0.9.4-linux-amd64.deb
# - name: Render
# run: |
# mkdir -p dist
# for x in UA20_Liverpool team_call_Dec2023_fAIr; do
# cd $x
# quarto render slides.md
# cd ..
# cp -Rv $x dist/
# done
. - name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2
with:
to: html # If set, it will be equivalent to `quarto render --to html`
path: . # By default, the current working dir is used i.e `quarto render .
output-dir: github-deploy
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./github-deploy