add environment input
This commit is contained in:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user