mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-24 10:51:27 +00:00
udpate pipeline
This commit is contained in:
parent
c87e7a3f61
commit
e6c36d14aa
1 changed files with 1 additions and 13 deletions
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
|
|
@ -72,16 +72,4 @@ jobs:
|
|||
platforms: linux/amd64
|
||||
tags: |
|
||||
${{ env.IMAGE_NAME_FULL }}:${{ github.ref_name }}
|
||||
|
||||
- name: Deploy
|
||||
uses: appleboy/ssh-action@v1.0.0
|
||||
env:
|
||||
BRANCH_NAME: ${{ github.ref_name }}
|
||||
with:
|
||||
host: ${{ secrets.REMOTE_HOST }}
|
||||
username: ${{ secrets.REMOTE_USER }}
|
||||
key: ${{ secrets.ACCESS_TOKEN }}
|
||||
envs: BRANCH_NAME
|
||||
script: |
|
||||
cd ${{secrets.REMOTE_PATH}}
|
||||
docker compose up --force-recreate -d --pull=always
|
||||
${{ env.IMAGE_NAME_FULL }}:latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue