diff --git a/.github/workflows/deploy-to-azure.yml b/.github/workflows/deploy-to-azure.yml index 3cfc82bd..6bdeff5c 100644 --- a/.github/workflows/deploy-to-azure.yml +++ b/.github/workflows/deploy-to-azure.yml @@ -26,11 +26,11 @@ jobs: with: arguments: build -x spotlessCheck - name: Login via Azure CLI - uses: azure/login@v1 + uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # v1 with: creds: ${{ secrets.AZURE_CREDENTIALS_SPRING_IO }} - name: Create Staging Deploy - uses: Azure/spring-apps-deploy@v1 + uses: Azure/spring-apps-deploy@b70af4b78730e5bdba98ebe95c9f50376735c623 # v1 with: azure-subscription: ${{ secrets.AZURE_SUBSCRIPTION }} action: deploy @@ -41,7 +41,7 @@ jobs: package: ${{ env.JAR_PATH }} jvm-options: -Xms1g -Xmx1g - name: Set To Production - uses: Azure/spring-apps-deploy@v1 + uses: Azure/spring-apps-deploy@b70af4b78730e5bdba98ebe95c9f50376735c623 # v1 with: azure-subscription: ${{ secrets.AZURE_SUBSCRIPTION }} action: set-production @@ -49,7 +49,7 @@ jobs: app-name: ${{ env.APP_NAME }} use-staging-deployment: true - name: Delete Staging Deployment - uses: Azure/spring-apps-deploy@v1 + uses: Azure/spring-apps-deploy@b70af4b78730e5bdba98ebe95c9f50376735c623 # v1 with: azure-subscription: ${{ secrets.AZURE_SUBSCRIPTION }} action: delete-staging-deployment