Skip to content

Commit 32430e8

Browse files
committed
actions
1 parent 127b3be commit 32430e8

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/main_zapverse.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626

2727
- name: Build with Maven
2828
run: mvn clean install
29+
env:
30+
SUPABASE_DB_URL: ${{ secrets.SUPABASE_DB_URL }}
31+
SUPABASE_DB_USERNAME: ${{ secrets.SUPABASE_DB_USERNAME }}
32+
SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_DB_PASSWORD }}
2933

3034
- name: Upload artifact for deployment job
3135
uses: actions/upload-artifact@v4
@@ -36,22 +40,22 @@ jobs:
3640
deploy:
3741
runs-on: ubuntu-latest
3842
needs: build
39-
permissions:
40-
id-token: write #This is required for requesting the JWT
41-
contents: read #This is required for actions/checkout
43+
permissions:
44+
id-token: write #This is required for requesting the JWT
45+
contents: read #This is required for actions/checkout
4246

4347
steps:
4448
- name: Download artifact from build job
4549
uses: actions/download-artifact@v4
4650
with:
4751
name: java-app
48-
49-
- name: Login to Azure
50-
uses: azure/login@v2
51-
with:
52-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_169681B710F14D49A45D8DA4746FED40 }}
53-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_0435125B5F9A4EFCB8554677C1ADF1BF }}
54-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_03A87841C7FC43A9B31B45EC2099E6E9 }}
52+
53+
- name: Login to Azure
54+
uses: azure/login@v2
55+
with:
56+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_169681B710F14D49A45D8DA4746FED40 }}
57+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_0435125B5F9A4EFCB8554677C1ADF1BF }}
58+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_03A87841C7FC43A9B31B45EC2099E6E9 }}
5559

5660
- name: Deploy to Azure Web App
5761
id: deploy-to-webapp

0 commit comments

Comments
 (0)