Skip to content

Commit

Permalink
Add deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nickclyde committed Sep 3, 2024
1 parent c864247 commit 80ed50a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deployment

on:
push:
branches:
- main
- nickclyde/deployment-workflow

permissions:
id-token: write
jobs:
deploy:
name: Deploy phinvads-go
runs-on: ubuntu-latest
environment: main
steps:
- name: Check out changes
uses: actions/checkout@v4

- name: Azure CLI Login
uses: azure/login@v2
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@v2
with:
azcliversion: latest
inlineScript: |
az account show

0 comments on commit 80ed50a

Please sign in to comment.