Skip to content

Commit

Permalink
cloud: Update webapp deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmin42 committed Feb 12, 2025
1 parent 65be586 commit 4e0ead5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main_pbnoirwebapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ jobs:
- name: Install dependencies
run: pip install -r requirements.txt

- name: Zip artifact for deployment
run: zip release.zip ./webapp/* -r

- name: Upload artifact for deployment jobs
uses: actions/upload-artifact@v4
with:
name: python-app
path: |
release.zip
!venv/
deploy:
runs-on: ubuntu-latest
needs: build
Expand All @@ -41,8 +52,17 @@ jobs:
permissions:
id-token: write #This is required for requesting the JWT
contents: read #This is required for actions/checkout


steps:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: python-app

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

- name: Login to Azure
uses: azure/login@v2
with:
Expand Down
File renamed without changes.

0 comments on commit 4e0ead5

Please sign in to comment.