Try to deploy on schedule with an action
This commit is contained in:
parent
beeaabdf0d
commit
9c057d4a01
11
.gitea/workflows/trigger-deploy.yml
Normal file
11
.gitea/workflows/trigger-deploy.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue
Block a user