add gitainer action
Some checks failed
Reload Act Runner Stack to clear cache / deploy-gitainer (push) Failing after 1s
Some checks failed
Reload Act Runner Stack to clear cache / deploy-gitainer (push) Failing after 1s
This commit is contained in:
parent
862a778ca7
commit
b7b1216b8a
15
.gitea/workflows/gitainer-deploy.yaml
Normal file
15
.gitea/workflows/gitainer-deploy.yaml
Normal 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
|
||||||
11
.gitea/workflows/reload-act-runner.yaml
Normal file
11
.gitea/workflows/reload-act-runner.yaml
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user