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 020104c commit fcd4d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/azure-app-service-settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
CURRENT_DATETIME=$(date +'%Y-%m-%d_%H:%M:%S')
SETTINGS=$(echo "${{ vars.AZURE_WEBAPP_APP_SETTINGS }}" | sed "s/{0}/$CURRENT_DATETIME/")
echo 'SETTINGS="$SETTINGS"' >> $GITHUB_ENV
echo "SETTINGS='$SETTINGS'" >> $GITHUB_ENV
- name: Az CLI Login
uses: azure/login@v2
with:
Expand All @@ -33,7 +33,7 @@ jobs:
with:
app-name: ${{ vars.AZURE_WEBAPP_NAME }}
slot-name: 'Production'
app-settings-json: '${{ env.SETTINGS }}'
app-settings-json: "${{ env.SETTINGS }}"
general-settings-json: '${{ vars.AZURE_WEBAPP_GENERAL_SETTINGS }}'
- name: Az CLI Logout
run: az logout

0 comments on commit fcd4d4f

Please sign in to comment.