Skip to content

Commit

Permalink
🏗️ build(firebase-hosting-merge.yml): update env key
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinsOnuoha committed Oct 27, 2023
1 parent 4dedab2 commit 23ce43a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,21 @@ name: Deploy to Firebase Hosting on merge
push:
branches:
- master
env: ${{ vars }}
env:
VITE_APP_TITLE: ${{ vars.prod.VITE_APP_TITLE }}
VITE_APP_DESCRIPTION: ${{ vars.VITE_APP_DESCRIPTION }}
VITE_APP_WEBSITE: ${{ vars.VITE_APP_WEBSITE }}
VITE_APP_IMG: ${{ vars.VITE_APP_IMG }}
VITE_APP_KEYWORDS: ${{ vars.VITE_APP_KEYWORDS }}
VITE_APP_LANG: ${{ vars.VITE_APP_LANG }}

jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Check variables
run: |
echo "env variables: ${{ vars.VITE_APP_TITLE }}"
- uses: actions/checkout@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
Expand Down

0 comments on commit 23ce43a

Please sign in to comment.