diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index 58b2cf1..f597729 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -1,18 +1,16 @@ name: Pull changes and deploy API on: [push] - jobs: + build: - name: Pull changes and deploy API + name: Build runs-on: self-hosted steps: - - name: multiple command + - name: Executing remote command uses: appleboy/ssh-action@v1.0.0 with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} - key: ${{ secrets.KEY }} + password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} - script: | - whoami - ls -al \ No newline at end of file + script: whoami