add environment input
This commit is contained in:
parent
258f4d0e2e
commit
a970f3744c
@ -8,6 +8,9 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
inputs:
|
||||
environment:
|
||||
required: true
|
||||
type: string
|
||||
image:
|
||||
required: false
|
||||
type: string
|
||||
@ -80,4 +83,4 @@ jobs:
|
||||
echo " StrictHostKeyChecking no" >> ~/.ssh/config
|
||||
|
||||
- name: Deploy
|
||||
run: vendor/bin/dep deploy environment=production
|
||||
run: vendor/bin/dep deploy environment=${{ inputs.environment }}
|
||||
|
@ -30,6 +30,10 @@ jobs:
|
||||
- **Description:** The contents of the `.env` file, which is passed in as a secret.
|
||||
|
||||
### Input Parameters
|
||||
- **environment** (required!):
|
||||
- **Type:** `string`
|
||||
- **Description:** The environment being deployed .e.g. production
|
||||
|
||||
- **image** (optional):
|
||||
- **Type:** `string`
|
||||
- **Default:** `git.qlic.nl/qlic/deploy:php8.3-node22`
|
||||
|
Loading…
x
Reference in New Issue
Block a user