mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-25 02:56:38 +00:00
update action
This commit is contained in:
parent
7951517bcc
commit
64bb588c52
1 changed files with 15 additions and 3 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
|
@ -41,3 +41,15 @@ jobs:
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: |
|
tags: |
|
||||||
${{ env.IMAGE_NAME_FULL }}:latest
|
${{ env.IMAGE_NAME_FULL }}:latest
|
||||||
|
|
||||||
|
- name: ssh pipelines
|
||||||
|
uses: appleboy/ssh-action@v1.0.0
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.REMOTE_HOST }}
|
||||||
|
username: ${{ secrets.REMOTE_USER }}
|
||||||
|
key: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
script: |
|
||||||
|
cd ${{ secrets.REMOTE_PATH }}
|
||||||
|
docker compose stop && docker compose rm -f
|
||||||
|
docker compose pull
|
||||||
|
docker compose up -d
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue