Skip to content

Commit

Permalink
Azure pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
vimal-knoldus committed Oct 3, 2023
1 parent a11118a commit 4fd65b1
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/car-demo-azure.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: car-demo-azure-pipeline

on:
push:
branches: [ main ]

jobs:
setup-build-publish-deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
java-version: '19'
distribution: 'temurin'
cache: maven
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Azure CLI script
uses: azure/CLI@v1
with:
azcliversion: 2.30.0
inlineScript: |
az account show
az storage -h
- name: Build, Publish, and Deploy
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
. az-svc-deployment.sh

0 comments on commit 4fd65b1

Please sign in to comment.