Skip to content

Commit 9728cf2

Browse files
authored
Update deploy-schemas.yml
1 parent 9162801 commit 9728cf2

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed
Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
1-
name: Deploy Schemas to Cloudflare Pages
2-
1+
name: Deploy Schema to Cloudflare Pages
32
on:
43
push:
4+
branches: [main]
55
paths:
66
- 'schema/**'
7-
branches:
8-
- main
97

108
jobs:
119
deploy:
1210
runs-on: ubuntu-latest
13-
1411
steps:
15-
- name: Checkout repo
16-
uses: actions/checkout@v4
17-
12+
- uses: actions/checkout@v4
13+
1814
- name: Install Wrangler
1915
run: npm install -g wrangler
20-
16+
2117
- name: Deploy to Cloudflare Pages
2218
run: |
2319
wrangler pages deploy ./schema \
2420
--project-name=video-notation-schema \
25-
--branch=main
21+
--compatibility-date=2024-01-01
2622
env:
2723
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}

0 commit comments

Comments
 (0)