Skip to content

Commit

Permalink
Update release_docker_image.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
woodchen-ink authored Oct 30, 2024
1 parent 4cc6108 commit e41451d
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/release_docker_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,3 @@ jobs:
push: true
tags: woodchen/${{ env.IMAGE_NAME }}:latest
platforms: linux/amd64,linux/arm64

- name: Execute deployment commands
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: root
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
# 解压文件
docker pull woodchen/webp-server-go
# 停止并删除容器
docker stop webp-server-go || true
docker rm webp-server-go || true

# 启动容器
docker compose -f /opt/1panel/docker/compose/webp-server-go/docker-compose.yml up -d

0 comments on commit e41451d

Please sign in to comment.