Skip to content

Commit

Permalink
update azure-app-service-settings.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto authored May 6, 2024
1 parent e03595d commit bd9a122
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/azure-app-service-settings.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# https://github.com/marketplace/actions/azure-app-service-settings
name: Azure App Service Settings

on:
Expand All @@ -10,20 +11,20 @@ permissions:
jobs:
apply-azure-app-service-settings:
runs-on: ubuntu-latest

environment: Production
steps:
- name: Az CLI Login
uses: azure/login@v1
uses: azure/login@v2
with:
client-id: ${{ vars.AZURE_CLIENT_ID }}
tenant-id: ${{ vars.AZURE_TENANT_ID }}
subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }}
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Azure App Service Settings
uses: Azure/appservice-settings@v1
with:
app-name: ${{ vars.AZURE_WEBAPP_NAME }}
app-name: ${{ secrets.AZURE_WEBAPP_NAME }}
slot-name: 'Production'
app-settings-json: '${{ secrets.AZURE_WEBAPP_APP_SETTINGS }}'
general-settings-json: '${{ secrets.AZURE_WEBAPP_GENERAL_SETTINGS }}'
app-settings-json: '${{ vars.AZURE_WEBAPP_APP_SETTINGS }}'
general-settings-json: '${{ vars.AZURE_WEBAPP_GENERAL_SETTINGS }}'
- name: Az CLI Logout
run: az logout

0 comments on commit bd9a122

Please sign in to comment.