From 8e2a6378e82f98784f4436620f7e3d4aa93adfc5 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Tue, 16 Jul 2024 17:24:45 +0200 Subject: [PATCH] Publish example for gha - use correct array syntax for branch Avoid triggering linting error in VSCODE closes quarto-dev/quarto-cli#10207 --- docs/publishing/github-pages.qmd | 6 +++--- docs/publishing/netlify.qmd | 6 +++--- docs/publishing/posit-cloud.qmd | 6 +++--- docs/publishing/quarto-pub.qmd | 6 +++--- docs/publishing/rstudio-connect.qmd | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/publishing/github-pages.qmd b/docs/publishing/github-pages.qmd index d0f1d77019..fc951d1d78 100644 --- a/docs/publishing/github-pages.qmd +++ b/docs/publishing/github-pages.qmd @@ -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 @@ -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 @@ -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 diff --git a/docs/publishing/netlify.qmd b/docs/publishing/netlify.qmd index cc68bb9bb2..7caac30eed 100644 --- a/docs/publishing/netlify.qmd +++ b/docs/publishing/netlify.qmd @@ -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 @@ -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 @@ -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 diff --git a/docs/publishing/posit-cloud.qmd b/docs/publishing/posit-cloud.qmd index d2b92a6fa5..16f408690e 100644 --- a/docs/publishing/posit-cloud.qmd +++ b/docs/publishing/posit-cloud.qmd @@ -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 @@ -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 @@ -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 diff --git a/docs/publishing/quarto-pub.qmd b/docs/publishing/quarto-pub.qmd index fd55bd6997..4496e75260 100644 --- a/docs/publishing/quarto-pub.qmd +++ b/docs/publishing/quarto-pub.qmd @@ -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 @@ -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 @@ -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 diff --git a/docs/publishing/rstudio-connect.qmd b/docs/publishing/rstudio-connect.qmd index bd276770be..b1a23e10c5 100644 --- a/docs/publishing/rstudio-connect.qmd +++ b/docs/publishing/rstudio-connect.qmd @@ -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 @@ -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 @@ -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