lewisdale.dev/.gitea/workflows/trigger-deploy.yml
Lewis Dale 804933e49a Test
2024-10-19 16:01:18 +01:00

15 lines
396 B
YAML

name: Trigger deploy
on:
schedule:
- cron: '0 * * * *'
jobs:
trigger-deploy:
runs-on: ubuntu-latest
steps:
- name: Trigger deploy
run: |
curl -X GET ${DEPLOY_ENDPOINT} -H "Authorization: Bearer ${COOLIFY_TOKEN}"
shell: bash
env:
DEPLOY_ENDPOINT: ${{ secrets.DEPLOY_ENDPOINT }}
COOLIFY_TOKEN: ${{ secrets.COOLIFY_TOKEN }}