name: Deploy Next.js application on: [push] jobs: deploy: runs-on: ubuntu-latest steps: - name: Deploy Next.js application uses: https://github.com/appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} password: ${{ secrets.PASSWORD }} script: deploy-next-app