From ed91be36d72d2409c6dbc2c591b30bda14698f8c Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 22 Oct 2024 19:59:19 +0200 Subject: [PATCH] Test with tag --- .forgejo/workflows/build_preview.yml | 13 +++++++++++++ .forgejo/workflows/build_release.yml | 13 +++++++++++++ .forgejo/workflows/linting.yml | 12 ------------ package.json | 2 +- 4 files changed, 27 insertions(+), 13 deletions(-) diff --git a/.forgejo/workflows/build_preview.yml b/.forgejo/workflows/build_preview.yml index af13dae..1053458 100644 --- a/.forgejo/workflows/build_preview.yml +++ b/.forgejo/workflows/build_preview.yml @@ -80,3 +80,16 @@ jobs: dockge status firq-dev-preview dockge update firq-dev-preview dockge status firq-dev-preview + + run-unlighthouse: + runs-on: docker + steps: + - name: Launch workflow + run: | + payload="{\"ref\": \"${GITHUB_REF_NAME}\", \"inputs\": { \"containertag\": \"${GITHUB_REF_NAME}\" }}" + curl -X "POST" \ + -H "accept: application/json" \ + -H "Content-Type: application/json" \ + -H "Authorization: token ${GITHUB_TOKEN}" \ + -d "${payload}" \ + "${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v diff --git a/.forgejo/workflows/build_release.yml b/.forgejo/workflows/build_release.yml index a6b6f79..4810fbd 100644 --- a/.forgejo/workflows/build_release.yml +++ b/.forgejo/workflows/build_release.yml @@ -65,6 +65,19 @@ jobs: dockge status firq-dev dockge update firq-dev dockge status firq-dev + + run-unlighthouse: + runs-on: docker + steps: + - name: Launch workflow + run: | + payload="{\"ref\": \"${GITHUB_REF_NAME}\", \"inputs\": { \"containertag\": \"${GITHUB_REF_NAME}\" }}" + curl -X "POST" \ + -H "accept: application/json" \ + -H "Content-Type: application/json" \ + -H "Authorization: token ${GITHUB_TOKEN}" \ + -d "${payload}" \ + "${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v create-release: needs: [ build-site ] diff --git a/.forgejo/workflows/linting.yml b/.forgejo/workflows/linting.yml index 9e38428..f68bdf7 100644 --- a/.forgejo/workflows/linting.yml +++ b/.forgejo/workflows/linting.yml @@ -23,15 +23,3 @@ jobs: run: npm i - name: Run astro check (linting + static analysis) run: npm run astro check - run-unlighthouse: - runs-on: docker - steps: - - name: Launch workflow - run: | - payload="{\"ref\": \"${GITHUB_REF_NAME}\", \"inputs\": { \"containertag\": \"0.2.0-pre.13\" }}" - curl -X "POST" \ - -H "accept: application/json" \ - -H "Content-Type: application/json" \ - -H "Authorization: token ${GITHUB_TOKEN}" \ - -d "${payload}" \ - "${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/workflows/unlighthouse.yml/dispatches" -v \ No newline at end of file diff --git a/package.json b/package.json index 6571c1a..3502a46 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.13", + "version": "0.2.0-pre.14", "private": true, "scripts": { "dev": "astro dev",