Skip to content

Commit

Permalink
Merge pull request #9 from sophia-guo/repository
Browse files Browse the repository at this point in the history
Update main.yml
  • Loading branch information
sophia-guo authored Oct 23, 2020
2 parents 574b36e + cd2ee91 commit ad34864
Showing 1 changed file with 24 additions and 11 deletions.
35 changes: 24 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
# name: Manually triggered workflow
# on:
# workflow_dispatch:
# inputs:
# name:
# description: 'Person to greet'
# required: true
# default: 'Mona the Octocat'
# home:
# description: 'location'
# required: false
# jobs:
# say_hello:
# runs-on: ubuntu-latest
# steps:
# - run: |
# echo "Hello ${{ github.event.inputs.name }}!"
# echo "- in ${{ github.event.inputs.home }}!"


name: Manually triggered workflow
on:
workflow_dispatch:
inputs:
name:
description: 'Person to greet'
required: true
default: 'Mona the Octocat'
home:
description: 'location'
required: false
repository_dispatch:
types: [release]

jobs:
say_hello:
runs-on: ubuntu-latest
steps:
- run: |
echo "Hello ${{ github.event.inputs.name }}!"
echo "- in ${{ github.event.inputs.home }}!"
echo "Hello "
#name: "Remove autoTestPR branch"
#on:
Expand Down

0 comments on commit ad34864

Please sign in to comment.