Skip to content

Commit

Permalink
Update build-and-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andyyu824 authored Dec 24, 2024
1 parent cea9b45 commit 3b53d4b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ jobs:
# run: npm install && npm run build
- name: npm ci
run: rm -rf node_modules && rm package-lock.json && npm install
# - name: upload artifacts
# uses: actions/upload-pages-artifact@v3
# with:
# path: build
- name: Build the project
run: npm run build
- name: upload artifacts
uses: actions/upload-pages-artifact@v3
with:
path: build
deploy:
# Add a dependency to the build job
needs: build
Expand Down

0 comments on commit 3b53d4b

Please sign in to comment.