14 lines
384 B
YAML
14 lines
384 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 }} |