Skip to content

Refactored ProfileCloud into components, and added responsive design for Filter #39

Refactored ProfileCloud into components, and added responsive design for Filter

Refactored ProfileCloud into components, and added responsive design for Filter #39

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting DEV on PR
on:
pull_request:
workflow_dispatch:
jobs:
build_and_preview:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create public env file
run: |
echo $(git log -5)
touch .env
echo PUBLIC_APP_ENV=development >> .env
echo PUBLIC_GOOGLE_CLIENT_ID=${{ secrets.PUBLIC_GOOGLE_CLIENT_ID_DEV }} >> .env
echo PUBLIC_VERSION_STRING=$(git log --format="%h %cd" --date=short --abbrev-commit -1) >> .env
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PROFILE_CLOUD_DEV }}"
projectId: profile-cloud-dev