Skip to content

Commit

Permalink
Use environments for easier secret management and protection rules fo…
Browse files Browse the repository at this point in the history
…r actions (#875)

* Use environments for easier secret management and protection rules for actions

* use documentation env
  • Loading branch information
eljog authored Dec 5, 2023
1 parent 5b8866c commit 804db60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/push-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
page-total: [66]
fail-fast: false
runs-on: devcontainer-image-builder-ubuntu
environment: documentation
steps:
- name: Free more space
id: free_space
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/version-history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ jobs:
id: az_login
uses: azure/login@v1
with:
creds: ${{ secrets.AZ_ACR_CREDS }}
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Get image info
id: Get_image_info
Expand Down

0 comments on commit 804db60

Please sign in to comment.