Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Update server-deploy.yml #10

Update server-deploy.yml

Update server-deploy.yml #10

Workflow file for this run

name: If push to the main, deploy it
on:
push:
branches:
- main
# paths:
# - "canbus-server/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Log in to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Build and deploy Container App
uses: azure/container-apps-deploy-action@v0
with:
appSourcePath: ${{ github.workspace }}/canbus-server
acrName: woowasiblings
containerAppName: canbus-server
containerAppEnvironment: canbus-server-env
resourceGroup: rg-2024-Woowa-Siblings
imageToBuild: woowasiblings.azurecr.io/canbus-server:<Tag e.g. ${{ github.sha }}>
dockerfilePath: ${{ github.workspace }}/canbus-server/Dockerfile