Skip to content

Commit

Permalink
Update nextjs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ourai authored Sep 11, 2024
1 parent 767f806 commit 8a59482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
elif [ -f "${{ github.workspace }}/.knosys/sites/default/package.json" ]; then
echo "manager=npm" >> $GITHUB_OUTPUT
echo "command=i" >> $GITHUB_OUTPUT
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
echo "runner=npm run" >> $GITHUB_OUTPUT
exit 0
else
echo "Unable to determine package manager"
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
run: ${{ steps.detect-package-manager.outputs.runner }} build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 8a59482

Please sign in to comment.