Skip to content

Commit 413de83

Browse files
Update cd-workflow.yml
1 parent 069dd51 commit 413de83

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/cd-workflow.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: 07-2. CD Workflow
22

33
on:
4-
# push:
5-
# branches: [main]
6-
workflow_dispatch:
4+
push:
5+
branches: [main]
76

87
env:
98
AZURE_WEBAPP_NAME: your-app-name # set this to your application's name
@@ -51,7 +50,10 @@ jobs:
5150
steps:
5251

5352
# Add here the download-artifact step
54-
53+
- name: Download artifact from build job
54+
uses: actions/download-artifact@v4
55+
with:
56+
name: node-app
5557

5658
- name: Deploy to Prod
5759
if: ${{ success() }}

0 commit comments

Comments
 (0)