diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index c79ff8a..81253c2 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -51,11 +51,15 @@ jobs: # pm2 save test: - - name: executing remote ssh commands using ssh key - uses: appleboy/ssh-action@v1.0.2 - with: - host: ${{ secrets.HOST }} - username: ${{ secrets.USERNAME }} - key: ${{ secrets.KEY }} - port: ${{ secrets.PORT }} - script: whoami + run_example_job: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - name: executing remote ssh commands using ssh key + uses: appleboy/ssh-action@v1.0.2 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + key: ${{ secrets.KEY }} + port: ${{ secrets.PORT }} + script: whoami