Skip to content

Commit

Permalink
refactor(ci/cd) Update gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Uj5Ghare authored Dec 8, 2024
1 parent 74f6eff commit 9d4056f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,10 @@ jobs:
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-Reactjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Change directory to frontend
run: cd frontend/
- name: Install dependencies
run: npm install
run: cd ./frontend/ && npm install
- name: Build with React.js
run: npm run build
run: cd ./frontend/ && npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 9d4056f

Please sign in to comment.