Skip to content

Commit

Permalink
update path in upload command
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavsinghal87 committed Feb 1, 2024
1 parent 54005ed commit 74a075c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Get Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Folder content
working-directory: ./artifacts-outputs
run: ls
Expand All @@ -26,18 +26,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Get Code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
working-directory: ./artifacts-outputs
run: npm ci
- name: Build website
working-directory: ./artifacts-outputs
run: npm run build
run: |
npm run build
ls dist
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: dist-files
path: dist
path: ./artifacts-outputs/dist
deploy:
needs: build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 74a075c

Please sign in to comment.