Skip to content

Commit d54f055

Browse files
committed
✨ Add GitHub Actions workflow for deploying to Cloudflare Pages
1 parent 3589e75 commit d54f055

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy davidgasquez.com
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
trigger-deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Trigger Cloudflare Pages deploy hook
13+
env:
14+
DEPLOY_HOOK_URL: ${{ secrets.CF_PAGES_DEPLOY_HOOK }}
15+
run: |
16+
set -euo pipefail
17+
curl -X POST -sS "${DEPLOY_HOOK_URL}"

0 commit comments

Comments
 (0)