add background arg

This commit is contained in:
Martin Dimitrov 2024-12-13 20:22:19 -08:00
parent fc0705d1e2
commit 0bb371dd64
2 changed files with 4 additions and 3 deletions

View File

@ -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 }}

View File

@ -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: &