From 9c057d4a010f260f5cc22a9543837fefa3ea49ff Mon Sep 17 00:00:00 2001 From: Lewis Dale Date: Sat, 19 Oct 2024 15:59:44 +0100 Subject: [PATCH] Try to deploy on schedule with an action --- .gitea/workflows/trigger-deploy.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitea/workflows/trigger-deploy.yml 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