lewisdale.dev/.gitea/workflows/trigger-deploy.yml
Lewis Dale 79d1ef30a4
All checks were successful
Trigger deploy / trigger-deploy (push) Successful in 3s
Trigger at 5 minutes past, for the sake of testing
2024-10-19 16:02:56 +01:00

16 lines
397 B
YAML

name: Trigger deploy
on:
schedule:
- cron: '5 * * * *'
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 }}