mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
ci: (re)enable deployment step
This commit is contained in:
30
.github/workflows/cd.yml
vendored
30
.github/workflows/cd.yml
vendored
@@ -36,18 +36,18 @@ jobs:
|
|||||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||||
|
|
||||||
# execute_commands_via_ssh:
|
execute_commands_via_ssh:
|
||||||
# name: Pull latest docker image and start up the application with Docker Compose
|
name: Pull latest docker image and start up the application with Docker Compose
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# needs: push_image_to_docker_hub
|
needs: push_image_to_docker_hub
|
||||||
# steps:
|
steps:
|
||||||
# - name: Executing remote ssh commands
|
- name: Executing remote ssh commands
|
||||||
# uses: appleboy/ssh-action@master
|
uses: appleboy/ssh-action@master
|
||||||
# with:
|
with:
|
||||||
# host: ${{ secrets.SSH_HOST }}
|
host: ${{ secrets.SSH_HOST }}
|
||||||
# port: ${{ secrets.SSH_PORT }}
|
port: ${{ secrets.SSH_PORT }}
|
||||||
# username: ${{ secrets.SSH_USERNAME }}
|
username: ${{ secrets.SSH_USERNAME }}
|
||||||
# key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.SSH_KEY }}
|
||||||
# script: |
|
script: |
|
||||||
# cd /infra/my-links
|
cd /infra/my-links
|
||||||
# sh startup.sh
|
sh startup.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user