Skip to content

Close tester questionnaire #242

Close tester questionnaire

Close tester questionnaire #242

name: Deploy staging
on:
pull_request_target:
branches:
- main
jobs:
deploy_staging:
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-node@v3
with:
cache: 'npm'
- run: npm ci
- run: npm run build
# - run: npm run build_prod
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
expires: 7d
projectId: inputlabs
channelId: