Skip to content

02. Deploy UI (Development) #327

02. Deploy UI (Development)

02. Deploy UI (Development) #327

Workflow file for this run

name: 02. Deploy UI (Development)
on:
workflow_dispatch:
workflow_call:
inputs:
branch_name:
description: 'The branch that will be deployed'
required: false
type: string
jobs:
build-and-push:
uses: ./.github/workflows/build-and-push.yml
with:
docker_image_name: judge_web_ui
dockerfile_name: Dockerfile.ui
docker_tag: dev-latest
branch_name: ${{ inputs.branch_name || 'v2-development' }}
secrets: inherit
deploy:
needs: [build-and-push]
uses: ./.github/workflows/deploy.yml
secrets:
webhook_url: ${{ secrets.UI_WEBHOOK_URL }}
webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
docker_username: ${{ secrets.SOFTUNIBUILD_USER }}
docker_password: ${{ secrets.SOFTUNIBUILD_PAT }}