From b4514fd9fb72f2a6f437f77beebea135c443b206 Mon Sep 17 00:00:00 2001 From: Akash Singh Date: Tue, 2 Apr 2024 13:52:09 +0530 Subject: [PATCH] Set env variables --- .github/workflows/deploy.yml | 20 +++++++++----------- documentation/.gitignore | 3 +++ 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 02e1b2de..f660148e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,22 +22,20 @@ jobs: node-version: 18.x # cache: npm - # - name: Set Variables Data - # env: - # REACT_APP_FOLLOWERS_ACCESS_KEY: ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} - # run: | - # echo ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} - - # - name: Install dependencies - # run: | - # npm ci + - name: Set Variables Data + env: + REACT_APP_FOLLOWERS_ACCESS_KEY: ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} + run: | + echo ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} - - name: Set Variables Data, Install dependencies & Build website + - name: Install dependencies run: | npm ci + + - name: Install dependencies & Build website + run: | cd documentation npm ci - REACT_APP_FOLLOWERS_ACCESS_KEY: ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} npm run build - name: Deploy to GitHub Pages diff --git a/documentation/.gitignore b/documentation/.gitignore index b083ed4f..4339a87b 100644 --- a/documentation/.gitignore +++ b/documentation/.gitignore @@ -12,8 +12,11 @@ .DS_Store .env .env.local +.env.development .env.development.local +.env.test .env.test.local +.env.production .env.production.local npm-debug.log*