Skip to content

Commit 5f91f1d

Browse files
committed
x
1 parent 221246f commit 5f91f1d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/main_hvalfangstlinuxfunctionapp.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
source venv/bin/activate
3333
3434
- name: Install dependencies
35-
run: pip install -r requirements.txt
35+
run: pip install -r hvalfangst_function/requirements.txt
3636

3737
# Optional: Add step to run tests here
3838

3939
- name: Zip artifact for deployment
40-
run: zip release.zip ./* -r
40+
run: cd hvalfangst_function && zip -r ../release.zip ./*
4141

4242
- name: Upload artifact for deployment job
4343
uses: actions/upload-artifact@v4
@@ -51,8 +51,8 @@ jobs:
5151
runs-on: ubuntu-latest
5252
needs: build
5353

54-
permissions:
55-
id-token: write #This is required for requesting the JWT
54+
permissions:
55+
id-token: write #This is required for requesting the JWT
5656

5757
steps:
5858
- name: Download artifact from build job
@@ -62,13 +62,13 @@ jobs:
6262

6363
- name: Unzip artifact for deployment
6464
run: unzip release.zip
65-
66-
- name: Login to Azure
67-
uses: azure/login@v2
68-
with:
69-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_45F263BF4662456FA6CAF9777649A827 }}
70-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_2F6C4F2E4B114D4591C460D73A3AAE41 }}
71-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_074AC658FD334500AEB5203E919D5F8B }}
65+
66+
- name: Login to Azure
67+
uses: azure/login@v2
68+
with:
69+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_45F263BF4662456FA6CAF9777649A827 }}
70+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_2F6C4F2E4B114D4591C460D73A3AAE41 }}
71+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_074AC658FD334500AEB5203E919D5F8B }}
7272

7373
- name: 'Deploy to Azure Functions'
7474
uses: Azure/functions-action@v1

0 commit comments

Comments
 (0)