diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e024ff9..9e154d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,11 +78,12 @@ jobs: # The server provides a small script named `service-restart` which will do # the right thing to pull the new image of the desired service and re-run # it. - - name: Restart service with the new code - uses: garygrossgarten/github-action-ssh@release + - name: executing remote ssh commands using password + uses: appleboy/ssh-action@v1.0.3 with: - command: infra-restart operum host: ${{ secrets.REMOTE_HOST }} username: ${{ secrets.REMOTE_USERNAME }} + password: ${{ secrets.REMOTE_PASSPHRASE }} + key: ${{ secrets.PRIVATE_KEY }} passphrase: ${{ secrets.REMOTE_PASSPHRASE }} - privateKey: ${{ secrets.PRIVATE_KEY}} + script: infra-restart operum |
