Skip to content

Commit

Permalink
Update eoefans-api-azure-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kazami139 authored and GitHub Enterprise committed Feb 25, 2023
1 parent 618f64f commit 2ae208c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/eoefans-api-azure-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@ name: Deploy EOEFANS API to Azure

on:
push:
branches: [ "release" ]
# branches: [ "release" ]
# pull_request:
# types: [synchronize, closed]
# branches: [ "release" ]
workflow_dispatch:
inputs:
deploy_version:
required: true
type: string

env:
AZURE_WEBAPP_NAME: "eoefans-api" # set this to your application's name
IMAGE_REGISTRY: "containers.vlink.dev"
IMAGE_REPO: "eoefans"
IMAGE_NAME: "eoefans-api"

DEPLOY_VERSION: ${{ inputs.deploy_version }}

jobs:

Expand Down Expand Up @@ -41,4 +46,4 @@ jobs:
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_CREDENTIALS_EOEFANS_API }}
images: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:latest
images: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPO }}/${{ env.IMAGE_NAME }}:${{ env.DEPLOY_VERSION }}

0 comments on commit 2ae208c

Please sign in to comment.