Skip to content

Commit f97e6b8

Browse files
authored
Add nightly Vercel deploy workflow
1 parent c65ac11 commit f97e6b8

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/nightly.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Nightly Vercel Deploy
2+
on:
3+
schedule:
4+
- cron: '0 2 * * *' # 02:00 UTC → 03:00/04:00 en Madrid según DST
5+
workflow_dispatch: # para probarlo a mano
6+
7+
jobs:
8+
trigger:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Trigger Vercel Deploy Hook
12+
run: curl -sSf -X POST "$VERCEL_DEPLOY_HOOK_URL"
13+
env:
14+
VERCEL_DEPLOY_HOOK_URL: ${{ secrets.VERCEL_DEPLOY_HOOK_URL }}

0 commit comments

Comments
 (0)