Skip to content

Commit

Permalink
action file set
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasdelvechio committed Sep 19, 2020
1 parent b9186eb commit 1aa65fc
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
# action.yml
name: 'Hello World'
description: 'Greet someone and record the time'
name: 'Sync a Repo like subdir of another'
description: 'When you push in Repo A, this repo is copied and sync like subfolder to Repo B'
author: 'Tomas Delvechio <tomasdelvechio17+github@gmail.com'
inputs:
who-to-greet: # id of input
description: 'Who to greet'
github-username:
description: 'User of github'
required: true
default: 'World'
outputs:
time: # id of output
description: 'The time we greeted you'
#default: 'World'
target-repository:
description: "The fullname of repository (example: tomasdelvechio/actions-push-repo-to-subdir). Not include .git"
required: true
target-repo-subdir-name:
description: "(optional) Subdir name on target repo. Default is repo name in lower-case"
#outputs:
# time: # id of output
# description: 'The time we greeted you'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.who-to-greet }}
- ${{ inputs.github-username inputs.target-repository inputs.target-repo-subdir-name }}

0 comments on commit 1aa65fc

Please sign in to comment.