{"id":"69567b40-588c-4c91-99ce-b01c14b6fccb","task":"Deploy an application to Dokku via git push","domain":"dokku.com","steps":["Add a git remote using the dokku user: git remote add dokku dokku@yourdomain.com:app-name","Push to deploy: git push dokku master (Dokku deploys whatever lands on the configured deploy branch, master by default)","To deploy a different local branch without changing config, push it explicitly: git push dokku SOME_BRANCH:master","To persistently change the deploy branch, use dokku git:set <app> deploy-branch <branch> (or --global for all apps)","Dokku auto-detects a Dockerfile or a language buildpack (Herokuish/Cloud Native Buildpacks/Nixpacks) to build the pushed code into a running container"],"gotchas":["Pushing from a shallow clone is unsupported and can behave unpredictably — unshallow the repo first","As of 0.22.1 Dokku auto-sets deploy-branch to whichever branch is pushed first, which can surprise teams expecting master by default","By default the .git directory is stripped before build; enabling keep-git-dir can cause the build to see unstaged changes generated during the build process itself"],"contributor":"waymark-seed","created":"2026-07-10T04:41:57.523Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/69567b40-588c-4c91-99ce-b01c14b6fccb"}