add gitainer action
Some checks failed
Reload Act Runner Stack to clear cache / deploy-gitainer (push) Failing after 1s

This commit is contained in:
Martin Dimitrov 2024-12-13 19:35:08 -08:00
parent 862a778ca7
commit b7b1216b8a
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,15 @@
name: Reload Gitainer Stack
on:
workflow_call:
inputs:
stack_name:
required: true
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

View File

@ -0,0 +1,11 @@
name: Reload Act Runner Stack to clear cache
on:
push:
branches: [main]
jobs:
deploy-gitainer:
uses: martin/chromart-gitea-actions/.gitea/workflows/gitainer-deploy.yaml@main
with:
stack_name: gitea_act_runner