Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,21 @@ inputs:
endpoint:
description: 'Endpoint to submit the job'
required: true
environment:
description: 'Nomad environment value'
required: false
aws_account_id:
description: 'Nomad AWS Account ID value'
required: false

runs:
using: "composite"
steps:
- name: Submit Job
shell: bash
env:
NOMAD_VAR_environment: ${{ inputs.environment }}
NOMAD_VAR_aws_account_id: ${{ inputs.aws_account_id }}
run: |
curl -X POST \
-H "X-API-Key: ${{ inputs.token }}" \
Expand Down