Skip to content

Deploy: blacklisted banner, API keys #13

Deploy: blacklisted banner, API keys

Deploy: blacklisted banner, API keys #13

name: CloudFlare Deploy - Files-UI PROD
on:
push:
branches: ["prod"]
pull_request:
branches: ["prod"]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: "16"
- run: yarn install --frozen-lockfile
- run: yarn build:files-ui
env:
REACT_APP_API_URL: "https://api.chainsafe.io/api/v1"
REACT_APP_AUTH0_CLIENT_ID: "kkdDcP8aE1O3qGdwjAV9ybu75nl1afVv"
REACT_APP_AUTH0_DOMAIN: "https://chainsafe-files.us.auth0.com"
REACT_APP_BLOCKNATIVE_ID: "c8b9121d-7d6b-4886-a92c-c6bbc86386a6"
REACT_APP_DIRECT_AUTH_NETWORK: "mainnet"
REACT_APP_FILES_UUID_VERIFIER_NAME: "chainsafe-uuid"
REACT_APP_GOOGLE_CLIENT_ID: "939164021653-lb5eiquuatf877em98bpi8v360p5vcs4.apps.googleusercontent.com"
REACT_APP_MAINTENANCE_MODE: "false"
REACT_APP_MAINTENANCE_TIMESTAMP: "0"
REACT_APP_STRIPE_PK: ${{ secrets.STRIPE_PK }}
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 2238a825c5aca59233eab1f221f7aefb
projectName: files-ui-prod
directory: ./packages/files-ui/build
gitHubToken: ${{ secrets.GITHUB_TOKEN }}