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

11 lines
283 B
YAML
Raw Normal View History

name: Trigger deploy
on:
schedule:
- cron: '0 * * * *'
jobs:
trigger-deploy:
runs-on: ubuntu-latest
steps:
- name: Trigger deploy
run: curl -X GET ${{ secrets.DEPLOY_ENDPOINT }} -H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}"
shell: bash