lewisdale.dev/.gitea/workflows/trigger-deploy.yml

16 lines
397 B
YAML
Raw Normal View History

name: Trigger deploy
on:
schedule:
- cron: '0 * * * *'
2024-10-19 15:02:01 +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 }}