Andrevile runs workflow for production deploy #149
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}} |