diff --git a/.github/workflows/mlops-workflow.yml b/.github/workflows/mlops-workflow.yml index 8ef9891..3e4fc6c 100644 --- a/.github/workflows/mlops-workflow.yml +++ b/.github/workflows/mlops-workflow.yml @@ -10,6 +10,8 @@ env: jobs: build-and-deploy: runs-on: ubuntu-latest + environment: + name: dev steps: - name: Checkout repository @@ -25,12 +27,12 @@ jobs: python -m pip install --upgrade pip pip install -r ./ml/requirements.txt - - name: Configure Azure credentials - uses: azure/login@v1 - with: - client-id: ${{ secrets.AZURE_CLIENT_ID }} - tenant-id: ${{ secrets.AZURE_TENANT_ID }} - subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} + - name: "Az CLI login" + uses: azure/login@v1 + with: + client-id: ${{ secrets.AZURE_CLIENT_ID }} + tenant-id: ${{ secrets.AZURE_TENANT_ID }} + subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} - name: Set up Azure Machine Learning run: |