Skip to content

feat: 배포용 workflow 고도화 #1

feat: 배포용 workflow 고도화

feat: 배포용 workflow 고도화 #1

Workflow file for this run

name: Deploy Production

Check failure on line 1 in .github/workflows/deploy-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-test.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: env
on:
workflow_dispatch:
inputs:
user_name:
description: 배포한 사용자
required: true
type: string
stage_choice:
description: 배포 유형 (production,devleop)
type: choice
options:
- develop
- production
workflow_call:
inputs:
user_name:
description: 배포한 사용자
required: true
type: string
run-name: '${{inputs.user_name}} runs workflow for ${{inputs.stage_choice}} deploy'
jobs:
env:
name: setup environment variables
runs-on: ubuntu-latest
env:
stage: ${{inputs.stage_choice}}
build_script_path: ./tools/build.sh
outputs:
stage: ${{env.stage}}
build:
needs: env
runs-on: ununtu-latest
container: pandoc/latex
steps:
- name: test
run: echo ${{needs.env.outputs}}
- uses: actions/checkout@v2