Skip to content

Commit

Permalink
add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamcha committed Apr 27, 2024
1 parent 2e39f11 commit 61dbd26
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'Deploy with shipit'
description: 'Use shipit to update GitOps deployments'
inputs:
provider:
description: JSON object with your provider configuration
required: true
changes:
description: JSON array of changes to apply
required: true
branch:
description: Branch to apply changes on
required: true
author:
description: Commit author
required: false
message:
description: Commit message
required: false
outputs:
runs:
using: 'docker'
image: 'Dockerfile'
env:
SHIPIT_PROVIDER: ${{ inputs.provider }}
SHIPIT_CHANGES: ${{ inputs.changes }}
SHIPIT_BRANCH: ${{ inputs.branch }}
SHIPIT_AUTHOR: ${{ inputs.author }}
SHIPIT_MESSAGE: ${{ inputs.message }}

0 comments on commit 61dbd26

Please sign in to comment.