diff --git a/.gitea/workflows/trigger-deploy.yml b/.gitea/workflows/trigger-deploy.yml new file mode 100644 index 0000000..cb186d4 --- /dev/null +++ b/.gitea/workflows/trigger-deploy.yml @@ -0,0 +1,11 @@ +name: Trigger deploy +on: + schedule: + - cron: '0 * * * *' +jobs: + trigger-deploy: + runs-on: ubuntu-latest + steps: + - name: Trigger deploy + run: curl -X GET ${{ secrets.DEPLOY_ENDPOINT }} -H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" + shell: bash \ No newline at end of file