Fix yarn.lock #54
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: Github Pages Deploy | |
on: | |
push: | |
branches: | |
- "master" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Install dependencies | |
run: yarn install --check-files --non-interactive --ignore-optional --frozen-lockfile | |
- name: Build production | |
run: yarn build | |
env: | |
CI: ${{ secrets.CI }} | |
REACT_APP_FIREBASE_API_KEY: ${{ secrets.REACT_APP_FIREBASE_API_KEY }} | |
REACT_APP_AUTH_DOMAIN: ${{ secrets.REACT_APP_AUTH_DOMAIN }} | |
REACT_APP_PROJECT_ID: ${{ secrets.REACT_APP_PROJECT_ID }} | |
REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }} | |
REACT_APP_MESSAGING_SENDER_ID: ${{ secrets.REACT_APP_MESSAGING_SENDER_ID }} | |
REACT_APP_APP_ID: ${{ secrets.REACT_APP_APP_ID }} | |
REACT_APP_MEASUREMENT_ID: ${{ secrets.REACT_APP_MEASUREMENT_ID }} | |
REACT_APP_EMAIL_ENDPOINT: ${{ secrets.REACT_APP_EMAIL_ENDPOINT }} | |
REACT_APP_SHARE_ENDPOINT: ${{ secrets.REACT_APP_SHARE_ENDPOINT }} | |
REACT_APP_FIREBASE_COLLECTION_PREFIX: ${{ secrets.REACT_APP_FIREBASE_COLLECTION_PREFIX }} | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: build |