ci: (temp) disable pull image script

This commit is contained in:
Sonny
2024-07-03 23:55:09 +02:00
parent 1da84e1afe
commit 049feab0d8
2 changed files with 16 additions and 16 deletions

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