customize action

This commit is contained in:
jverzani
2022-09-08 07:14:44 -04:00
parent ba14dd8548
commit 2dc90a7b17

View File

@@ -6,7 +6,7 @@ name: Quarto Publish to gh-pages
on:
# Triggers the workflow on push events but only for the "master" branch
push:
branches: [ "master" ]
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@@ -36,9 +36,6 @@ jobs:
- uses: julia-actions/setup-julia@v1
- run: julia --project -e 'using Pkg; Pkg.instantiate()'
# setup R
- uses: r-lib/actions/setup-r@v2
# render and push to the gh-pages branch
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
@@ -47,4 +44,3 @@ jobs:
path: quarto
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions