mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-31 13:57:26 -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/**'
|
- 'website/**'
|
||||||
- 'themes/**'
|
- 'themes/**'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_deploy:
|
build_and_deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -40,7 +44,9 @@ jobs:
|
||||||
kubectl config set-context posh --namespace demo
|
kubectl config set-context posh --namespace demo
|
||||||
- uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2
|
- uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2
|
||||||
with:
|
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 🔧
|
- name: Build oh-my-posh 🔧
|
||||||
run: |
|
run: |
|
||||||
cd src
|
cd src
|
||||||
|
|
Loading…
Reference in a new issue