Test with tag
All checks were successful
/ get-version (push) Successful in 2s
/ astro-check (push) Successful in 14s

This commit is contained in:
Firq 2024-10-22 19:59:19 +02:00
parent 3d729731a5
commit ed91be36d7
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
4 changed files with 27 additions and 13 deletions

View file

@ -80,3 +80,16 @@ jobs:
dockge status firq-dev-preview dockge status firq-dev-preview
dockge update firq-dev-preview dockge update firq-dev-preview
dockge status 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

View file

@ -66,6 +66,19 @@ jobs:
dockge update firq-dev dockge update firq-dev
dockge status 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: create-release:
needs: [ build-site ] needs: [ build-site ]
if: success() if: success()

View file

@ -23,15 +23,3 @@ jobs:
run: npm i run: npm i
- name: Run astro check (linting + static analysis) - name: Run astro check (linting + static analysis)
run: npm run astro check 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

View file

@ -1,7 +1,7 @@
{ {
"name": "@firq/fgosite", "name": "@firq/fgosite",
"type": "module", "type": "module",
"version": "0.2.0-pre.13", "version": "0.2.0-pre.14",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",