Skip to content

Commit

Permalink
Shows all my github followers on about me page
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash Singh committed Mar 8, 2024
1 parent 0a12244 commit 05b46c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
# cache: npm

- name: Set Variables Data
run: echo "$REACT_APP_FOLLOWERS_ACCESS_KEY"
run: |
touch .env
echo REACT_APP_FOLLOWERS_ACCESS_KEY: ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }} >> .env
env:
REACT_APP_FOLLOWERS_ACCESS_KEY: ${{ secrets.REACT_APP_FOLLOWERS_ACCESS_KEY }}

Expand Down
2 changes: 1 addition & 1 deletion documentation/src/context/CommunityStats/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const CommunityStatsContext = createContext<
ICommunityStatsContext | undefined
>(undefined);

const ACCESS_TOKEN = "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";
const ACCESS_TOKEN = process.env.REACT_APP_FOLLOWERS_ACCESS_KEY;

export const CommunityStatsProvider: FC = ({ children }) => {
const [loading, setLoading] = useState(true);
Expand Down

0 comments on commit 05b46c1

Please sign in to comment.