Skip to content

Commit

Permalink
another one
Browse files Browse the repository at this point in the history
  • Loading branch information
freez3fram3 committed Jan 28, 2025
1 parent a3681b1 commit 9dc61b3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/br.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@ jobs:
run: echo "${{ secrets.AZURE_CERTIFICATE }}" > cert.pem

- name: Download Azure Certificate
run: cat cert.pem
run: echo "${{ secrets.AZURE_CERTIFICATE }}" | base64 --decode > cert.pem

- name: Verify Certificate Content
run: |
if [ -s cert.pem ]; then
echo "Certificate downloaded successfully."
else
echo "Certificate file is empty. Please check the secret value."
fi
- name: Azure CLI Login with Certificate
run: az login --service-principal --username ${{ secrets.AZURE_CLIENT_ID }} --tenant ${{ secrets.AZURE_TENANT_ID }} --certificate cert.pem
Expand Down

0 comments on commit 9dc61b3

Please sign in to comment.