chromart-gitea-actions/.gitea/workflows/gitainer-deploy.yaml

18 lines
392 B
YAML

name: Reload Gitainer Stack
on:
workflow_call:
inputs:
stack_name:
required: true
type: string
args:
type: string
jobs:
deploy-gitainer:
runs-on: ubuntu-22.04
steps:
- name: Call Gitainer stack webhooks
run: curl --request POST http://192.168.1.150:9080/api/stacks/${{ inputs.stack_name }}?pretty ${{ inputs.args }}