Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish example for gha - use correct array syntax for branch #1264

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/publishing/github-pages.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Once you've completed a local publish, add a `publish.yml` GitHub Action to your
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -181,7 +181,7 @@ Here is a complete example of a GitHub Action that installs Python, Jupyter, and
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -221,7 +221,7 @@ Here is a complete example of a GitHub Action that installs R and package depend
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down
6 changes: 3 additions & 3 deletions docs/publishing/netlify.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Now, commit and push your modified project (including `_freeze`, `netlify.toml`,
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -148,7 +148,7 @@ Here is a complete example of a GitHub Action that installs Python, Jupyter, and
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -185,7 +185,7 @@ Here is a complete example of a GitHub Action that installs R and package depend
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down
6 changes: 3 additions & 3 deletions docs/publishing/posit-cloud.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ To setup your publish action, create a `.github/workflows/publish.yml` file in y
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -235,7 +235,7 @@ Here is a complete example of a GitHub Action that installs Python, Jupyter, and
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -273,7 +273,7 @@ Here is a complete example of a GitHub Action that installs R and package depend
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down
6 changes: 3 additions & 3 deletions docs/publishing/quarto-pub.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ See the article on [Publishing with CI](ci.qmd) for additional details on non-in
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -162,7 +162,7 @@ Here is a complete example of a GitHub Action that installs Python, Jupyter, and
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -199,7 +199,7 @@ Here is a complete example of a GitHub Action that installs R and package depend
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down
6 changes: 3 additions & 3 deletions docs/publishing/rstudio-connect.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ To setup your publish action, create a `.github/workflows/publish.yml` file in y
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -295,7 +295,7 @@ Here is a complete example of a GitHub Action that installs Python, Jupyter, and
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down Expand Up @@ -333,7 +333,7 @@ Here is a complete example of a GitHub Action that installs R and package depend
on:
workflow_dispatch:
push:
branches: main
branches: [main]

name: Quarto Publish

Expand Down