customize action
This commit is contained in:
6
.github/workflows/quarto.yml
vendored
6
.github/workflows/quarto.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user