mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
ci: (temp) disable pull image script
This commit is contained in:
@@ -4,7 +4,7 @@ build
|
|||||||
coverage
|
coverage
|
||||||
.vscode
|
.vscode
|
||||||
.DS_STORE
|
.DS_STORE
|
||||||
# .env
|
.env
|
||||||
tmp
|
tmp
|
||||||
storage
|
storage
|
||||||
|
|
||||||
|
|||||||
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