diff --git a/.gitea/workflows/gitainer-deploy.yaml b/.gitea/workflows/gitainer-deploy.yaml new file mode 100644 index 0000000..dd5d13c --- /dev/null +++ b/.gitea/workflows/gitainer-deploy.yaml @@ -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 diff --git a/.gitea/workflows/reload-act-runner.yaml b/.gitea/workflows/reload-act-runner.yaml new file mode 100644 index 0000000..5cc948c --- /dev/null +++ b/.gitea/workflows/reload-act-runner.yaml @@ -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 \ No newline at end of file