Skip to content

Commit

Permalink
Create publish_quarto.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hythloda authored Mar 6, 2024
1 parent af29970 commit 3ea5040
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/publish_quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "operations" branch
push:
branches: [ "operations" ]
pull_request:
branches: [ "operations" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

name: Quarto Publish

jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4

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

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3ea5040

Please sign in to comment.