Skip to content

Commit

Permalink
Create Azure Automation Test and execute it from GitHub Actions (#8709)
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee authored Dec 29, 2022
1 parent de71773 commit 31576cd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/azure-auto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Add PowerShell module to Azure Automation
on:
pull_request:
jobs:
addmodule:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v3

- name: Login via Az module
uses: azure/login@v1
with:
creds: "${{ secrets.AZAUTO_CREDENTIAL }}"
enable-AzPSSession: true

- name: Add the module
uses: potatoqualitee/azautomodule@main
env:
GITHUB_TOKEN: ${{ secrets.GIST_PAT }}
with:
resource-group-name: azautomation
automation-account-name: import-tester

0 comments on commit 31576cd

Please sign in to comment.