name: Deploy main page on: push: branches: [ master, main ] jobs: deploy: runs-on: self-hosted container: node:24 steps: - name: Cloning repo uses: actions/checkout@v4 with: fetch-depth: 0 - name: Push to dokku uses: dokku/github-action@master with: git_remote_url: 'ssh://dokku@192.168.1.2:22/main-page' ssh_private_key: ${{ secrets.DOKKU_DEPLOY_KEY }}