From 5ef6e3dcac299a9b0256f8d1c2d24fd24d205da4 Mon Sep 17 00:00:00 2001 From: Kaung Myat Lwin Date: Sun, 4 Oct 2020 05:20:35 +0630 Subject: [PATCH] update env --- .github/workflows/master.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 94a33ac..317da99 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -41,7 +41,10 @@ jobs: - name: Create ENV and Build run: | touch .env - echo "BASE_URL=${{ secrets.BASE_URL }}\nAPI_KEY=${{ secrets.API_KEY }}\nGA_TRACKING_ID=${{ secrets.GA_TRACKING_ID }}" >> .env.local + echo BASE_URL=${{ secrets.BASE_URL }} >> .env + echo API_KEY=${{ secrets.API_KEY }} >> .env + echo GA_TRACKING_ID=${{ secrets.GA_TRACKING_ID }} >> .env + cat .env - run: npm run build --if-present - uses: GoogleCloudPlatform/github-actions/setup-gcloud@master