remove unecessary build steps
Some checks failed
CI / build-and-test (push) Failing after 3m15s

This commit is contained in:
Tobias Klemp
2026-01-02 01:32:49 +01:00
parent b048a9d4a6
commit 0085aa690f
2 changed files with 1 additions and 16 deletions

View File

@@ -49,14 +49,11 @@ runs:
- name: Create Docker context
shell: bash
run: |
# Remove existing context if it exists
docker context rm deploy_target 2>/dev/null || true
# Create new Docker context
docker context create deploy_target \
--docker "host=ssh://${{ vars.ssh_user }}@${{ vars.ssh_host }}:${{ vars.ssh_port }}"
# Verify context works
docker --context deploy_target info
- name: Stop existing deployment
@@ -73,14 +70,11 @@ runs:
id: deploy
shell: bash
run: |
# Start services
docker-compose --context deploy_target -f ${{ inputs.compose_file }} -p ${{ inputs.project_name }} up -d
# Wait for services to be healthy
echo "Waiting for services to start..."
sleep 10
# Get container names
CONTAINERS=$(docker-compose --context deploy_target -f ${{ inputs.compose_file }} -p ${{ inputs.project_name }} ps --services | tr '\n' ',' | sed 's/,$//')
echo "containers=$CONTAINERS" >> $GITHUB_OUTPUT