Try to deploy on schedule with an action

This commit is contained in:
Lewis Dale 2024-10-19 15:59:44 +01:00
parent beeaabdf0d
commit 9c057d4a01

View File

@ -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