docs: use Azure OIDC for auth

This commit is contained in:
Jan De Dobbeleer 2023-03-22 09:38:41 +01:00 committed by Jan De Dobbeleer
parent 0692873cd4
commit ddc4067b19

View file

@ -8,6 +8,10 @@ on:
- 'website/**'
- 'themes/**'
permissions:
id-token: write
contents: read
jobs:
build_and_deploy:
runs-on: ubuntu-latest
@ -40,7 +44,9 @@ jobs:
kubectl config set-context posh --namespace demo
- uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Build oh-my-posh 🔧
run: |
cd src