Skip to content

Deploy to "client" by @LeoCpii #33

Deploy to "client" by @LeoCpii

Deploy to "client" by @LeoCpii #33

Workflow file for this run

name: CD - PRD
run-name: Deploy to "${{ inputs.project }}" by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
project:
type: choice
description: Choice a project
required: true
options:
- client
jobs:
setup:
uses: ./.github/workflows/setup.yml
with:
BUILD_ENV: production
secrets: inherit
build-project:
needs: [setup]
uses: ./.github/workflows/projects.yml
with:
ENVIRONMENT: PROD
BUILD_ENV: production
PATH: dist
PROJECT: ${{ inputs.project }}
COMMAND: build
secrets: inherit
deploy-project:
needs: [build-project]
uses: ./.github/workflows/deploy.yml
with:
ENVIRONMENT: PROD
BUILD_ENV: production
PATH: dist
PROJECT: ${{ inputs.project }}
secrets: inherit