ci: run auto-label.yml
only if github.event.review.state == 'APPROVED'
#1020
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
name: Deploy / preview | |
on: pull_request | |
jobs: | |
build_and_preview: | |
if: ${{ !contains(github.head_ref, 'release/') }} | |
name: Firebase | |
runs-on: ubuntu-latest | |
steps: | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- run: npm run build | |
- name: Debug output | |
run: tree dist/demo/browser -P '*.html' | |
- name: Deploy preview | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
if: env.IS_OWNER_MODE == 'true' | |
with: | |
repoToken: ${{ secrets.GITHUB_TOKEN }} | |
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MASKITO }} | |
projectId: maskito | |
expires: 1d | |
concurrency: | |
group: firebase-${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true |