Created
September 3, 2020 12:49
-
-
Save segraef/59017bb1e3d6bee82025697e10827bc9 to your computer and use it in GitHub Desktop.
Example GitHub Workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ExampleWorkflow | |
on: [push] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Azure Login | |
uses: azure/login@v1.1 | |
with: | |
creds: ${{secrets.AZURE_CREDENTIALS}} | |
enable-AzPSSession: true | |
- name: Azure CLI | |
run: | | |
az webapp list --query "[?state=='Running']" | |
- name: Azure PowerShell | |
uses: azure/powershell@v1 | |
with: | |
azPSVersion: 'latest' | |
inlineScript: | | |
Get-AzVM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment