Skip to content

Modulize the CI deployment workflows #11

Modulize the CI deployment workflows

Modulize the CI deployment workflows #11

Workflow file for this run

---
name: Deploy to AKS
on:
push:
branches:
- main
- staging
jobs:
deploy-to-production:

Check failure on line 11 in .github/workflows/deploy-to-aks.yml

View workflow run for this annotation

GitHub Actions / Deploy to AKS

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-to-aks.yml (Line: 11, Col: 3): Error calling workflow 'unkcpz/aiidalab-demo-server/.github/workflows/deploy-workflow-call.yml@27807b480ffbb9f38abafd43658dfdc5b2ca24bf'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: ./.github/workflows/deploy-workflow-call.yml
with:
environment: production
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
deploy-to-staging:
uses: ./.github/workflows/deploy-workflow-call.yml
with:
environment: staging
if: github.event_name == 'push' && github.ref == 'refs/heads/staging'