LeeJeongHooo runs workflow for develop deploy #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push & Deploy | |
on: | |
workflow_dispatch: | |
inputs: | |
user_name: | |
description: 배포한 사용자 | |
required: true | |
type: string | |
stage_choice: | |
description: 배포 유형 (production,devleop) | |
type: choice | |
options: | |
- production | |
- develop | |
run-name: '${{inputs.user_name}} runs workflow for ${{inputs.stage_choice}} deploy' | |
jobs: | |
deploy: | |
uses: './.github/workflows/deploy-integration.yml' | |
with: | |
user_name: ${{inputs.user_name}} | |
stage: ${{inputs.stage_choice}} | |
secrets: | |
ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}} |