Skip to content

Commit

Permalink
Frontend build action fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Swapnil-Sagar committed Nov 4, 2024
1 parent 14badc9 commit f8374a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-enclave.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
run: |
if [ -d "webapp" ]; then
echo "webapp folder found. Starting frontend build..."
cd frontend
cd webapp
if [ "${{ inputs.package_manager || 'npm' }}" == "yarn" ]; then
yarn install
yarn build
Expand All @@ -111,7 +111,7 @@ jobs:
npm run build
fi
else
echo "No frontend folder found, skipping frontend build."
echo "No webapp folder found, skipping frontend build."
fi
- name: Commit and push frontend build
Expand Down

0 comments on commit f8374a2

Please sign in to comment.