Skip to content

Commit d4179ca

Browse files
authored
Update main_todo-react-web.yml
1 parent 3e87b0a commit d4179ca

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/main_todo-react-web.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,30 @@ jobs:
2828
run: npm run build
2929
working-directory: src/web
3030

31-
- name: Check build folder exists
31+
- name: Check dist folder exists
3232
run: |
33-
if [ ! -d "src/web/build" ]; then
34-
echo "Build folder not found! Build step failed."
33+
if [ ! -d "src/web/dist" ]; then
34+
echo "Dist folder not found! Build step failed."
3535
exit 1
3636
fi
3737
38-
- name: Zip build folder
39-
run: zip -r build.zip build
38+
- name: Zip dist folder
39+
run: zip -r dist.zip dist
4040
working-directory: src/web
4141

4242
- name: Upload artifact for deployment job
4343
uses: actions/upload-artifact@v4
4444
with:
4545
name: node-app
46-
path: src/web/build.zip
46+
path: src/web/dist.zip
4747

4848
- name: Download artifact from build job
4949
uses: actions/download-artifact@v4
5050
with:
5151
name: node-app
5252

5353
- name: Unzip artifact for deployment
54-
run: unzip build.zip
54+
run: unzip dist.zip
5555

5656
- name: Login to Azure
5757
uses: azure/login@v2
@@ -65,4 +65,4 @@ jobs:
6565
with:
6666
app-name: 'todo-react-web'
6767
slot-name: 'Production'
68-
package: build
68+
package: dist

0 commit comments

Comments
 (0)