hotfix: re-generated android assets using capacitor-assets package #1441
Workflow file for this run
This file contains 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
# Deploy preview url for labelled PRs | |
# Specifies deployment target based on pr target branch | |
# Master -> plh_global | |
# Deployment/{deployment_name} -> {deployment_name} | |
name: Deployment Preview | |
on: | |
pull_request: | |
types: [labeled, synchronize] | |
branches: | |
- deployment/* | |
- master | |
concurrency: | |
group: deployment-preview-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
if: contains(github.event.pull_request.labels.*.name, 'Test - preview') | |
uses: ./.github/workflows/web-build.yml | |
secrets: inherit | |
with: | |
build-flags: --configuration "production,preview" | |
# use branch name from PR target as default | |
# https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables | |
deployment: ${{ github.base_ref }} | |
deploy_preview: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download Build Artifact | |
uses: actions/download-artifact@v3 | |
with: | |
name: www | |
- name: Extract Build folder | |
run: | | |
mkdir www | |
tar -xf artifact.tar --directory www | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PLH_TEENS_APP1 }}" | |
projectId: plh-teens-app1 | |
target: "${{needs.build.outputs.DEPLOYMENT_NAME}}" | |
expires: 14d | |
env: | |
FIREBASE_CLI_PREVIEWS: hostingchannels |