Skip to content

Commit 63e3b98

Browse files
Update the auto-deploy file
1 parent 4f34db3 commit 63e3b98

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/swiftfiddle-runner-functions-603-AutoDeployTrigger-0f63c8c3-1a81-4559-adeb-9e0be81f48c5.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@ on:
1111
- '.github/workflows/swiftfiddle-runner-functions-603-AutoDeployTrigger-0f63c8c3-1a81-4559-adeb-9e0be81f48c5.yml'
1212

1313
# Allow manual trigger
14-
workflow_dispatch:
15-
14+
workflow_dispatch:
15+
1616
jobs:
1717
build-and-deploy:
1818
runs-on: ubuntu-latest
19-
permissions:
20-
id-token: write #This is required for requesting the OIDC JWT Token
21-
contents: read #Required when GH token is used to authenticate with private repo
2219

2320
steps:
2421
- name: Checkout to the branch
@@ -27,9 +24,7 @@ jobs:
2724
- name: Azure Login
2825
uses: azure/login@v1
2926
with:
30-
client-id: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS603_AZURE_CLIENT_ID }}
31-
tenant-id: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS603_AZURE_TENANT_ID }}
32-
subscription-id: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS603_AZURE_SUBSCRIPTION_ID }}
27+
creds: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS603_AZURE_CREDENTIALS }}
3328

3429
- name: Build and push container image to registry
3530
uses: azure/container-apps-deploy-action@v2
@@ -42,7 +37,8 @@ jobs:
4237
containerAppName: swiftfiddle-runner-functions-603
4338
resourceGroup: swiftfiddle
4439
imageToBuild: kishikawakatsumi/swiftfiddle-runner-functions-603:${{ github.sha }}
45-
_buildArgumentsKey_: |
46-
_buildArgumentsValues_
40+
41+
4742

43+
4844

0 commit comments

Comments
 (0)