2024-10-19 14:59:44 +00:00
|
|
|
name: Trigger deploy
|
|
|
|
on:
|
|
|
|
schedule:
|
2024-10-19 15:02:56 +00:00
|
|
|
- cron: '5 * * * *'
|
2024-10-19 15:02:01 +00:00
|
|
|
|
2024-10-19 14:59:44 +00:00
|
|
|
jobs:
|
|
|
|
trigger-deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Trigger deploy
|
2024-10-19 15:01:18 +00:00
|
|
|
run: |
|
|
|
|
curl -X GET ${DEPLOY_ENDPOINT} -H "Authorization: Bearer ${COOLIFY_TOKEN}"
|
2024-10-19 15:00:40 +00:00
|
|
|
shell: bash
|
|
|
|
env:
|
|
|
|
DEPLOY_ENDPOINT: ${{ secrets.DEPLOY_ENDPOINT }}
|
|
|
|
COOLIFY_TOKEN: ${{ secrets.COOLIFY_TOKEN }}
|