Skip to content

Merge pull request #6054 from berkeley-dsep-infra/staging #20

Merge pull request #6054 from berkeley-dsep-infra/staging

Merge pull request #6054 from berkeley-dsep-infra/staging #20

Workflow file for this run

on:
workflow_dispatch:
push:
paths:
- 'docs/**'
name: Quarto Publish
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
# Don't run in forks, unless the forker sets a secret variable. I chose to
# use a secret rather than a var because secrets are not copied to forks.
if: ${{ github.event.repository.fork == false || secrets.ALLOW_FORK_DEPLOY == 'true' }}

Check failure on line 16 in .github/workflows/quarto-docs.yml

View workflow run for this annotation

GitHub Actions / Quarto Publish

Invalid workflow file

The workflow is not valid. .github/workflows/quarto-docs.yml (Line: 16, Col: 9): Unrecognized named-value: 'secrets'. Located at position 42 within expression: github.event.repository.fork == false || secrets.ALLOW_FORK_DEPLOY == 'true'
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:
path: ./docs
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}