From ccc87f94c918d99238220a470fe6bd7601378fc9 Mon Sep 17 00:00:00 2001 From: DarkBrines <94066559+DarkBrines@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:30:50 +0100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b0fef9..8fefc69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}