Skip to content

azure.yml

azure.yml #1

Workflow file for this run

name: CI with OpenID Connect
on:
push:
branches: [ main ]
permissions:
id-token: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: azure/login@v1

Check failure on line 16 in .github/workflows/azure.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/azure.yml

Invalid workflow file

You have an error in your yaml syntax on line 16
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Upload to blob storage
uses: azure/CLI@v1
with:
inlineScript: |
az storage blob upload-batch --account-name ${{ secrets.STORAGE_ACCOUNT_NAME }} --auth-mode key -d '$web' -s .
- name: logout
run: |
az logout
if: always()