From 61bcfdafab63671e0efdd01dfdf772115b1fc76f Mon Sep 17 00:00:00 2001 From: Bas Hopman Date: Thu, 15 Feb 2024 22:30:56 +0100 Subject: [PATCH] Trigger build of site on push. taal -> onderwerp --- .github/workflows/trigger_publishing_site.yml | 19 +++++++++++++++++++ index.md | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/trigger_publishing_site.yml diff --git a/.github/workflows/trigger_publishing_site.yml b/.github/workflows/trigger_publishing_site.yml new file mode 100644 index 0000000..b11e0ca --- /dev/null +++ b/.github/workflows/trigger_publishing_site.yml @@ -0,0 +1,19 @@ +name: Trigger publishing site + +on: + push: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Send trigger + run: | + curl --fail -L -X POST \ + -H 'Accept: application/vnd.github+json' \ + -H 'Authorization: Bearer ${{ secrets.GH_PAT_REPO_WORKFLOW_CODERDOJO024 }}' \ + -H 'X-GitHub-Api-Version: 2022-11-28' \ + https://api.github.com/repos/coderdojonijmegen/hugo-coderdojo-nijmegen/actions/workflows/publish.yml/dispatches \ + -d '{"ref":"main"}' diff --git a/index.md b/index.md index e3c29b7..a6dcc70 100644 --- a/index.md +++ b/index.md @@ -4,7 +4,7 @@ date: 2021-10-22T20:53:27+02:00 draft: false toc: true headercolor: "teal-background" -taal: Javascript +onderwerp: Javascript --- Kunst maken in de browser.