aboutsummaryrefslogtreecommitdiff
path: root/.github/actions/deploy-status/action.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/actions/deploy-status/action.yml')
-rw-r--r--.github/actions/deploy-status/action.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/actions/deploy-status/action.yml b/.github/actions/deploy-status/action.yml
new file mode 100644
index 000000000..90c9b50d8
--- /dev/null
+++ b/.github/actions/deploy-status/action.yml
@@ -0,0 +1,36 @@
+name: "deployment-status"
+author: "menny"
+description: "updates deployment status"
+
+inputs:
+ deployment_id:
+ description: "deployment-id"
+ required: true
+ state:
+ description: "commit to deploy"
+ required: true
+ environment:
+ description: "environment to deploy"
+ required: true
+ api_user_name:
+ description: "the username to use for API calls"
+ required: true
+ api_user_token:
+ description: "the user API token to use for API calls"
+ required: true
+
+runs:
+ using: "docker"
+ image: "docker://menny/ndk_ask:1.13.5"
+ entrypoint: /bin/bash
+ args:
+ - .github/actions/deploy-status/request.sh
+ - ${{ inputs.deployment_id }}
+ - ${{ inputs.state }}
+ - ${{ inputs.environment }}
+ - ${{ inputs.api_user_name }}
+ - ${{ inputs.api_user_token }}
+
+branding:
+ icon: 'package'
+ color: 'purple'