We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af22b31 commit c725d64Copy full SHA for c725d64
2 files changed
.github/workflows/deploy-gh-pages.yml
.github/workflows/deploy-schemas.yml
@@ -0,0 +1,27 @@
1
+name: Deploy Schemas to Cloudflare Pages
2
+
3
+on:
4
+ push:
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
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=my-schema-project \
25
+ --branch=main
26
+ env:
27
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
0 commit comments