Created
May 11, 2022 09:57
-
-
Save acoshift/71f1b116b9649c22fe6553e71eec2d09 to your computer and use it in GitHub Desktop.
Google Cloud Build config for Cloudflare Pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: node:16 | |
entrypoint: npm | |
args: [ci] | |
- name: node:16 | |
entrypoint: npm | |
args: [run, build] | |
- name: node:16 | |
entrypoint: npx | |
args: [wrangler, pages, publish, --project-name=$_PROJECT, ./build] | |
env: | |
- CLOUDFLARE_ACCOUNT_ID=$_CLOUDFLARE_ACCOUNT_ID | |
- CLOUDFLARE_API_TOKEN=$_CLOUDFLARE_API_TOKEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment