ci: remove default for inputs
This commit is contained in:
@@ -6,22 +6,18 @@ inputs:
|
|||||||
docker_compose_path:
|
docker_compose_path:
|
||||||
description: 'Path to the docker-compose file (e.g. docker-compose.yml)'
|
description: 'Path to the docker-compose file (e.g. docker-compose.yml)'
|
||||||
required: true
|
required: true
|
||||||
default: 'docker-compose.yml'
|
|
||||||
|
|
||||||
remote_host:
|
remote_host:
|
||||||
description: 'Remote server IP or hostname'
|
description: 'Remote server IP or hostname'
|
||||||
required: true
|
required: true
|
||||||
default: '185.218.126.87'
|
|
||||||
|
|
||||||
remote_user:
|
remote_user:
|
||||||
description: 'SSH username on remote server'
|
description: 'SSH username on remote server'
|
||||||
required: true
|
required: true
|
||||||
default: 'linly'
|
|
||||||
|
|
||||||
deployment_path:
|
deployment_path:
|
||||||
description: 'Remote path to deploy the compose file (e.g. /home/linly/services/gitea)'
|
description: 'Remote path to deploy the compose file (e.g. /home/linly/services/gitea)'
|
||||||
required: true
|
required: true
|
||||||
default: '/home/linly/services/gitea'
|
|
||||||
|
|
||||||
|
|
||||||
timeout:
|
timeout:
|
||||||
@@ -72,7 +68,7 @@ runs:
|
|||||||
-o UserKnownHostsFile=~/.ssh/known_hosts \
|
-o UserKnownHostsFile=~/.ssh/known_hosts \
|
||||||
-i ~/.ssh/id_rsa \
|
-i ~/.ssh/id_rsa \
|
||||||
${DOCKER_COMPOSE_PATH} \
|
${DOCKER_COMPOSE_PATH} \
|
||||||
${REMOTE_USER}@${REMOTE_HOST}:${DEPLOYMENT_PATH}
|
"${REMOTE_USER}@${REMOTE_HOST}:${DEPLOYMENT_PATH}"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Deploy services via SSH
|
- name: Deploy services via SSH
|
||||||
|
|||||||
Reference in New Issue
Block a user