Skip to content

Commit

Permalink
skip(self-hosted-setup): false
Browse files Browse the repository at this point in the history
  • Loading branch information
autocloudarc committed Jan 9, 2024
1 parent 54ad47f commit 1912125
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions exercises-dev/.github/workflows/deploy-az-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,28 +53,28 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# Authenticate to Azure tenant using the Azure login action (OIDC)
- name: Authenticate to Azure with OIDC
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
enable-AzPSSession: false

- name: Install Pre-Requisites for Self-Hosted Runner if required
run: |
chmod +x $GITHUB_WORKSPACE/az-scripts/setupSelfHostedRunner.sh
$GITHUB_WORKSPACE/az-scripts/setupSelfHostedRunner.sh
shell: bash
if: ${{ env.skipSelfHostedSetup == 'true' }}
if: ${{ env.skipSelfHostedSetup == 'false' }}

- name: Install PowerShell
run: |
chmod +x $GITHUB_WORKSPACE/az-scripts/installPowerShell.sh
$GITHUB_WORKSPACE/az-scripts/installPowerShell.sh
shell: bash
if: ${{ env.skipSelfHostedSetup == 'true' }}
if: ${{ env.skipSelfHostedSetup == 'false' }}

# Authenticate to Azure tenant using the Azure login action (OIDC)
- name: Authenticate to Azure with OIDC
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
enable-AzPSSession: false

# https://github.com/Azure/login
- name: deploy
Expand Down

0 comments on commit 1912125

Please sign in to comment.