We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9162801 commit 9728cf2Copy full SHA for 9728cf2
.github/workflows/deploy-schemas.yml
@@ -1,27 +1,23 @@
1
-name: Deploy Schemas to Cloudflare Pages
2
-
+name: Deploy Schema to Cloudflare Pages
3
on:
4
push:
+ branches: [main]
5
paths:
6
- 'schema/**'
7
- branches:
8
- - main
9
10
jobs:
11
deploy:
12
runs-on: ubuntu-latest
13
14
steps:
15
- - name: Checkout repo
16
- uses: actions/checkout@v4
17
+ - uses: actions/checkout@v4
+
18
- name: Install Wrangler
19
run: npm install -g wrangler
20
21
- name: Deploy to Cloudflare Pages
22
run: |
23
wrangler pages deploy ./schema \
24
--project-name=video-notation-schema \
25
- --branch=main
+ --compatibility-date=2024-01-01
26
env:
27
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
0 commit comments