Skip to content

Commit

Permalink
add workflow 11:20
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k committed Jan 24, 2024
1 parent 0a1cf82 commit 5d0126e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/worfklow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# File: .github/workflows/workflow.yml

name: Run Azure Login with OIDC
on:
workflow_dispatch:

schedule:
- cron: "20 9 * * 2"

permissions:
id-token: write
contents: read
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Azure login
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: Azure CLI script
uses: azure/CLI@v1
with:
azcliversion: latest
inlineScript: |
az account show

0 comments on commit 5d0126e

Please sign in to comment.