Skip to content

Commit

Permalink
Update firebase-hosting-pull-request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthonyp0329 committed Apr 25, 2024
1 parent 140de26 commit b6a13b2
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ jobs:
npm ci
npm run build
- name: Install backend dependencies
env:
MONGO_URL: ${{ secrets.MONGO_URL }}
run: |
cd backend/
touch .env
echo DATABASE_URL=${{ secrets.MONGO_URL }} >> .env
echo DEV_PORT=3001 >> .env
echo NODE_ENV=deployment >> .env
echo "DATABASE_URL=$MONGO_URL" >> .env
echo "DEV_PORT=3001" >> .env
echo "NODE_ENV=deployment" >> .env
cat .env
npm ci
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down

0 comments on commit b6a13b2

Please sign in to comment.