add background arg
This commit is contained in:
parent
fc0705d1e2
commit
0bb371dd64
@ -6,10 +6,12 @@ on:
|
|||||||
stack_name:
|
stack_name:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
|
args:
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy-gitainer:
|
deploy-gitainer:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Call Gitainer stack webhooks
|
- name: Call Gitainer stack webhooks
|
||||||
run: curl --request POST http://192.168.1.150:9080/api/stacks/${{ inputs.stack_name }}?pretty
|
run: curl --request POST http://192.168.1.150:9080/api/stacks/${{ inputs.stack_name }}?pretty ${{ inputs.args }}
|
||||||
|
|||||||
@ -6,9 +6,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy-gitainer:
|
deploy-gitainer:
|
||||||
continue-on-error: true
|
|
||||||
timeout-minutes: 1
|
|
||||||
uses: martin/chromart-gitea-actions/.gitea/workflows/gitainer-deploy.yaml@main
|
uses: martin/chromart-gitea-actions/.gitea/workflows/gitainer-deploy.yaml@main
|
||||||
with:
|
with:
|
||||||
stack_name: gitea_act_runner
|
stack_name: gitea_act_runner
|
||||||
|
args: &
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user