Skip to content

Commit

Permalink
Set env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash Singh committed Apr 2, 2024
1 parent 5076100 commit b4514fd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions documentation/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down

0 comments on commit b4514fd

Please sign in to comment.