aboutsummaryrefslogtreecommitdiff
path: root/.github/actions/deploy-request/action.yml
blob: 2ac16e04f8b136668d12602e6b3b94c3d0868fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: "deployment-request"
author: "menny"
description: "Performs a deploy request"

inputs:
  ref:
    description: "ref (branch) to publish"
    required: true
  sha:
    description: "commit 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
  reports_folder:
    description: "Where to store requests and responses files."
    required: true

runs:
  using: "docker"
  image: "docker://menny/ndk_ask:1.13.6"
  entrypoint: /bin/bash
  args:
    - .github/actions/deploy-request/request.sh
    - ${{ inputs.ref }}
    - ${{ inputs.sha }}
    - ${{ inputs.api_user_name }}
    - ${{ inputs.api_user_token }}
    - ${{ inputs.reports_folder }}

branding:
  icon: 'package'
  color: 'purple'