ci: (re)enable deployment step

This commit is contained in:
Sonny
2024-07-07 14:52:06 +02:00
parent efcb1d0ef9
commit 136fcfac5d

View File

@@ -36,18 +36,18 @@ jobs:
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
# execute_commands_via_ssh:
# name: Pull latest docker image and start up the application with Docker Compose
# runs-on: ubuntu-latest
# needs: push_image_to_docker_hub
# steps:
# - name: Executing remote ssh commands
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.SSH_HOST }}
# port: ${{ secrets.SSH_PORT }}
# username: ${{ secrets.SSH_USERNAME }}
# key: ${{ secrets.SSH_KEY }}
# script: |
# cd /infra/my-links
# sh startup.sh
execute_commands_via_ssh:
name: Pull latest docker image and start up the application with Docker Compose
runs-on: ubuntu-latest
needs: push_image_to_docker_hub
steps:
- name: Executing remote ssh commands
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
cd /infra/my-links
sh startup.sh