-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from githubschool/manual-job
Create manual-deployment.yml
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
name: Manual Deployment | ||
|
||
# Set the job to run manually | ||
on: | ||
workflow_dispatch: | ||
# Set the input variables you want to pull in | ||
inputs: | ||
branch: | ||
description: 'Branch to deploy' | ||
required: true | ||
default: 'Dev' | ||
app_list: | ||
description: 'Comma separated list of apps to deploy' | ||
required: true | ||
default: 'App1,App2' | ||
|
||
jobs: | ||
Deploy_Apps: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
echo "Running deployment of branch ${{ github.event.inputs.branch }}!" | ||
echo "- Deploying the following Apps: ${{ github.event.inputs.app_list }}!" |