Skip to content

Commit

Permalink
fix: workflow needs env in setup-node step
Browse files Browse the repository at this point in the history
  • Loading branch information
ayan4m1 committed Jan 19, 2025
1 parent 4ac151e commit cb62ba8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/gatsby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
with:
node-version: 'lts/*'
cache: ${{ steps.detect-package-manager.outputs.manager }}
env:
FONTAWESOME_PACKAGE_TOKEN: ${{ secrets.FONTAWESOME_PACKAGE_TOKEN }}
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
Expand All @@ -82,7 +84,6 @@ jobs:
- name: Build with Gatsby
env:
PREFIX_PATHS: 'true'
FONTAWESOME_PACKAGE_TOKEN: ${{ secrets.FONTAWESOME_PACKAGE_TOKEN }}
run: ${{ steps.detect-package-manager.outputs.manager }} run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit cb62ba8

Please sign in to comment.