This commit is contained in:
@@ -24,13 +24,16 @@ inputs:
|
|||||||
description: 'Docker registry'
|
description: 'Docker registry'
|
||||||
required: false
|
required: false
|
||||||
default: 'git.klemp.dev'
|
default: 'git.klemp.dev'
|
||||||
|
deployment_key:
|
||||||
|
description: 'SSH deployment private key'
|
||||||
|
required: true
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
steps:
|
steps:
|
||||||
- uses: webfactory/ssh-agent@v0.9.1
|
- uses: webfactory/ssh-agent@v0.9.1
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.SSH_DEPLOYMENT_KEY }}
|
ssh-private-key: ${{ inputs.deployment_key }}
|
||||||
|
|
||||||
- name: Create environment file
|
- name: Create environment file
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -29,3 +29,4 @@ jobs:
|
|||||||
project_name: ${{ steps.branch_name.outputs.branch_name }}
|
project_name: ${{ steps.branch_name.outputs.branch_name }}
|
||||||
url: '${{ steps.branch_name.outputs.branch_name }}.phoenix.klemp.local'
|
url: '${{ steps.branch_name.outputs.branch_name }}.phoenix.klemp.local'
|
||||||
image_url: ${{ steps.docker_build.outputs.image_url }}
|
image_url: ${{ steps.docker_build.outputs.image_url }}
|
||||||
|
deployment_key: ${{ secrets.SSH_DEPLOYMENT_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user