Skip to content

Commit

Permalink
Refactor deployment workflow to use relative paths for release.zip an…
Browse files Browse the repository at this point in the history
…d venv
  • Loading branch information
deepraj21 committed Sep 20, 2024
1 parent 89cda86 commit 7dfc21e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main_devhub-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
- name: Upload artifact for deployment jobs
uses: actions/upload-artifact@v4
with:
name: python-app
name: release-artifact # Updated artifact name
path: |
release.zip
!venv/
./server/release.zip
!./server/venv/
deploy:
runs-on: ubuntu-latest
Expand All @@ -61,12 +61,11 @@ jobs:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: python-app
name: release-artifact # Matching artifact name

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


- name: Login to Azure
uses: azure/login@v2
with:
Expand All @@ -80,4 +79,3 @@ jobs:
with:
app-name: 'devhub-server'
slot-name: 'Production'

0 comments on commit 7dfc21e

Please sign in to comment.