Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MadhavBohra authored Jul 15, 2024
1 parent bdf8bb0 commit 437773c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
uses: actions/configure-pages@v5

- name: Inject API Key
run: echo "REACT_APP_API_KEY=${{ secrets.API_KEY }}" >> .env # Save your key in .env file
run: |
sed -i 's|REPLACE_WITH_API_KEY|${{ secrets.API_KEY }}|' path/to/your/script.js # Update this with your script path
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 437773c

Please sign in to comment.