Skip to content

Commit 7dfc21e

Browse files
committed
Refactor deployment workflow to use relative paths for release.zip and venv
1 parent 89cda86 commit 7dfc21e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/main_devhub-server.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
- name: Upload artifact for deployment jobs
4444
uses: actions/upload-artifact@v4
4545
with:
46-
name: python-app
46+
name: release-artifact # Updated artifact name
4747
path: |
48-
release.zip
49-
!venv/
48+
./server/release.zip
49+
!./server/venv/
5050
5151
deploy:
5252
runs-on: ubuntu-latest
@@ -61,12 +61,11 @@ jobs:
6161
- name: Download artifact from build job
6262
uses: actions/download-artifact@v4
6363
with:
64-
name: python-app
64+
name: release-artifact # Matching artifact name
6565

6666
- name: Unzip artifact for deployment
6767
run: unzip release.zip
6868

69-
7069
- name: Login to Azure
7170
uses: azure/login@v2
7271
with:
@@ -80,4 +79,3 @@ jobs:
8079
with:
8180
app-name: 'devhub-server'
8281
slot-name: 'Production'
83-

0 commit comments

Comments
 (0)