Skip to content

Commit

Permalink
Merge pull request #4 from githubschool/manual-job
Browse files Browse the repository at this point in the history
Create manual-deployment.yml
  • Loading branch information
linkyone authored Mar 15, 2022
2 parents cfbeb65 + e6bc593 commit 54004bc
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/manual-deployment.yml
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 }}!"

0 comments on commit 54004bc

Please sign in to comment.