Merge pull request #6613 from dokku/deploy-test-app

Add a helper binary to deploy a test app for local development
This commit is contained in:
Jose Diaz-Gonzalez
2024-02-24 23:46:33 -05:00
committed by GitHub

View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
main() {
declare APP="${1:-test}"
if ! dokku apps:exists $APP; then
dokku apps:create $APP
fi
dokku builder-herokuish:set $APP allowed true
dokku git:sync --build $APP https://github.com/dokku/smoke-test-app.git
}
main "$@"