mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 04:19:41 -08:00
docs: use Azure OIDC for auth
This commit is contained in:
parent
0692873cd4
commit
ddc4067b19
8
.github/workflows/docs.yml
vendored
8
.github/workflows/docs.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue