Skip to content

Commit 804db60

Browse files
authored
Use environments for easier secret management and protection rules for actions (#875)
* Use environments for easier secret management and protection rules for actions * use documentation env
1 parent 5b8866c commit 804db60

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/push-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
page-total: [66]
2121
fail-fast: false
2222
runs-on: devcontainer-image-builder-ubuntu
23+
environment: documentation
2324
steps:
2425
- name: Free more space
2526
id: free_space

.github/workflows/version-history.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ jobs:
5252
id: az_login
5353
uses: azure/login@v1
5454
with:
55-
creds: ${{ secrets.AZ_ACR_CREDS }}
55+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
56+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
57+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
5658

5759
- name: Get image info
5860
id: Get_image_info

0 commit comments

Comments
 (0)