Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
DarkBrines authored Nov 21, 2023
1 parent 8c30d05 commit ccc87f9
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,12 @@ jobs:
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.tags }}
deploy:
name: Deploy to server
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_PASSWORD }}
script: ${{ secrets.DEPLOY_SCRIPT }}
runs-on: ubuntu-latest
steps:
- name: Deploy to server
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_PASSWORD }}
script: ${{ secrets.DEPLOY_SCRIPT }}

0 comments on commit ccc87f9

Please sign in to comment.