From bd6e6edaa87d72ceb465d7f220791bf5dd2eb132 Mon Sep 17 00:00:00 2001 From: MartinsOnuoha Date: Thu, 26 Oct 2023 23:00:36 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20build(firebase-hosting-?= =?UTF-8?q?merge.yml):=20update=20env=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/firebase-hosting-merge.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index c1a397b0..3fd0b563 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -6,12 +6,22 @@ name: Deploy to Firebase Hosting on merge push: branches: - master -env: ${{ vars }} +env: + VITE_APP_TITLE: ${{ vars.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 "repository variable: ${{ vars }}" + echo "env variables: ${{ env }}" - uses: actions/checkout@v2 - run: npm ci && npm run build - uses: FirebaseExtended/action-hosting-deploy@v0