chore: add codemagic cloudflare upload

pull/90/head
moonrailgun 2 years ago
parent fd4d054753
commit 89479475d8

@ -7,6 +7,7 @@ workflows:
environment: environment:
groups: groups:
- default - default
- cloudflare_credentials
cache: cache:
cache_paths: cache_paths:
- $CM_BUILD_DIR/node_modules - $CM_BUILD_DIR/node_modules
@ -48,6 +49,11 @@ workflows:
- name: Notify artifact URL to Tailchat - name: Notify artifact URL to Tailchat
script: | script: |
node scripts/notify-links.js node scripts/notify-links.js
- name: Install wrangler
script: npm install -g wrangler
- name: Deploy to Cloudflare Pages
script: |
wrangler pages publish android/app/build/outputs/apk/release --project-name tailchat-app --branch $CM_BRANCH
ios: ios:
name: build, test & publish iOS version name: build, test & publish iOS version
@ -56,6 +62,7 @@ workflows:
environment: environment:
groups: groups:
- default - default
- cloudflare_credentials
cache: cache:
cache_paths: cache_paths:
- $CM_BUILD_DIR/node_modules - $CM_BUILD_DIR/node_modules

Loading…
Cancel
Save