Skip to content

Commit 1587bdb

Browse files
committed
fix: add Azure login step and specify deployment slot in CI workflow
1 parent d0c80d5 commit 1587bdb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,14 @@ jobs:
8989
9090
echo "IMAGE_TAG=$REGISTRY_IMAGE:$SHA_TAG" >> $GITHUB_ENV
9191
92+
- name: Loging to Azure portal
93+
uses: azure/login@v1
94+
with:
95+
creds: ${{ secrets.AZURE_CREDENTIALS }}
96+
9297
- name: Deploy to Azure Web App
9398
uses: azure/webapps-deploy@v2
9499
with:
95100
app-name: ${{ secrets.AZURE_WEBAPP_NAME }}
96101
images: ${{ secrets.ACR_LOGIN_SERVER }}/express-server:latest
102+
slot-name: production

0 commit comments

Comments
 (0)