Skip to content

Commit

Permalink
Flesh out a skeleton for trigger-deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
olly committed Mar 16, 2021
1 parent fa00ddd commit 435f51f
Show file tree
Hide file tree
Showing 8 changed files with 283 additions and 65 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: ./
with:
milliseconds: 1000
19 changes: 12 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: 'Your name here'
description: 'Provide a description here'
author: 'Your name or organization here'
name: 'Trigger Deploy'
description: 'Can either trigger a deployment to a specific environment / namespace, or trigger a number of deployments based on the event which triggered it.'
author: 'switcher.ie'
inputs:
milliseconds: # change this
required: true
description: 'input description here'
default: 'default value if applicable'
environment:
description: 'The environment to deploy to. Either "staging" or "production".'
namespace:
description: 'The namespace to deploy to. Only valid if `environment` is "staging".'
ref:
description: 'The commit reference to deploy.'
outputs:
deployments:
description: 'JSON-encoded array of GitHub deployments'
runs:
using: 'node12'
main: 'dist/index.js'
58 changes: 21 additions & 37 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 435f51f

Please sign in to comment.