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