Skip to content

Commit 6c59fe6

Browse files
committed
Pin GitHub Actions versions and add resource group name to Azure deploy step
1 parent ea83637 commit 6c59fe6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/azure_stock-dashboard-python.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ jobs:
5656

5757
steps:
5858
- name: Download artifact from build job
59-
uses: actions/download-artifact@v4
59+
uses: actions/download-artifact@v4.3.0
6060
with:
6161
name: python-app
6262

6363
- name: Login to Azure
64-
uses: azure/login@v2
64+
uses: azure/login@v2.3.0
6565
with:
6666
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_F3A2B6BE01664787B76B07AC353D33D3 }}
6767
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_298CA90AA01E48B1ADA79A4DC7FA91B6 }}
@@ -73,5 +73,6 @@ jobs:
7373
with:
7474
app-name: 'stock-dashboard-python'
7575
slot-name: 'Production'
76+
resource-group-name: ${{ secrets.AZUREAPPSERVICE_RESOURCEGROUP }}
7677
startup-command: 'gunicorn --bind=0.0.0.0 --timeout 600 app:server'
7778

0 commit comments

Comments
 (0)