Skip to content

[NO-TASK] Improved button text #366

[NO-TASK] Improved button text

[NO-TASK] Improved button text #366

Workflow file for this run

name: DEV CI/CD
on:
push:
branches: [develop]
workflow_dispatch:
jobs:
build:
name: Build and deploy to DEV
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login
uses: azure/login@v1
with:
creds: ${{ secrets.DEV_CREDENTIALS }}
- name: Node setup
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Expo setup
uses: expo/expo-github-action@v7
with:
expo-version: 4.x
- name: Install packages
run: npm install
- name: Optimize assets
run: npx expo-optimize
# fix --release-channel not available for web yet
- name: Select environment
run: cp -f app/env/Environment.dev.ts app/env/Environment.ts
- name: Build for web
run: expo build:web
- name: Deploy to Azure Storage (DEV)
uses: azure/CLI@v1
with:
inlineScript: |
az storage blob upload-batch --account-name stdfxpaydev -d '$web' -s ./web-build --overwrite
- name: Purge CDN endpoint (DEV)
uses: azure/CLI@v1
with:
inlineScript: |
az cdn endpoint purge --content-paths "/*" --profile-name cdnp-dfx-pay-dev --name cdne-dfx-pay-dev --resource-group rg-dfx-pay-dev
- name: Logout
run: |
az logout
if: always()