Skip to content

chore: refactor stores #64

chore: refactor stores

chore: refactor stores #64

name: Deploy to Firebase Staging on PR
'on':
pull_request:
branches:
- master
jobs:
build-and-preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
environment: testing
steps:
- uses: actions/checkout@v3
- name: 'Create env file'
run: |
echo "${{ secrets.ENV_FILE }}" > .env
- run: ' npm ci && npm run build'
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PEGA_SITE }}'
projectId: pega-site