Test dispatch
This commit is contained in:
parent
6e3d23e8f7
commit
2d07dbbbdb
2 changed files with 15 additions and 4 deletions
|
@ -23,3 +23,11 @@ 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: |
|
||||
curl -X POST -H "Authorization: ${GITHUB_TOKEN}" \
|
||||
-d '{"ref": "${GITHUB_REF_NAME}", "inputs": { "container_tag": "0.2.0-pre.13" }}' \
|
||||
"${GITHUB_API_URL}/repos/{GITHUB_REPOSITORY}/actions/workflows/unlighthouse/dispatches" -v
|
|
@ -1,7 +1,10 @@
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- '[0-9]+\.[0-9]+\.[0-9]+-ulh\.[0-9]+'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
container_tag:
|
||||
description: "Tag of the container to test"
|
||||
default: "preview"
|
||||
type: "string"
|
||||
|
||||
jobs:
|
||||
unlighthouse:
|
||||
|
@ -10,7 +13,7 @@ jobs:
|
|||
image: forgejo.neshweb.net/ci-docker-images/unlighthouse:0.3.0
|
||||
services:
|
||||
website:
|
||||
image: forgejo.neshweb.net/firq/firq-dev-website:preview
|
||||
image: forgejo.neshweb.net/firq/firq-dev-website:${{ inputs.container_tag }}
|
||||
options: >-
|
||||
--workdir /
|
||||
steps:
|
||||
|
|
Loading…
Reference in a new issue