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