Remove deploy step from GitHub action
The docker image will still be published to the registry, it'll just no longer auto-update my own personal server.
This commit is contained in:
parent
1d15b116c2
commit
615e4640c6
1 changed files with 1 additions and 11 deletions
12
.github/workflows/docker-image.yml
vendored
12
.github/workflows/docker-image.yml
vendored
|
@ -43,14 +43,4 @@ jobs:
|
|||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
- name: Deploy
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
script: |
|
||||
docker compose pull twigs
|
||||
docker compose up -d --build twigs
|
||||
docker image prune -f
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
Loading…
Reference in a new issue