Skip to content

Commit

Permalink
chore: test deploy configuration update
Browse files Browse the repository at this point in the history
  • Loading branch information
kazami139 committed Mar 17, 2023
1 parent 70c7b67 commit 0d33d85
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/eoefans-api-azure-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,34 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: azure/login@v1
with:
creds: '${{ secrets.AZURE_CREDENTIALS }}'

# Uncomment the below action snippet if the Web app credentials are not updated as web app settings
- name: Set Web App configuration
uses: Azure/appservice-settings@v1
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
app-settings-json: |
[
{
"name": "SENTRY_RELEASE",
"value": "${{ env.DEPLOY_VERSION }}",
"slotSetting": false
},
{
"name": "SENTRY_ENV",
"value": "production",
"slotSetting": false
},
{
"name": "VERSION",
"value": "${{ env.DEPLOY_VERSION }}",
"slotSetting": false
}
]
- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
Expand Down

0 comments on commit 0d33d85

Please sign in to comment.