Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
dokku-deploy
Advanced tools
Readme
A deployment tool for dokku.
npm install -g dokku-deploy
By default dokku-deploy
enters interactive mode:
$ dokku-deploy
Dokku Deploy CLI - 0.0.1
Project: my-node-project - 1.2.3
? What would you like to do?
❯ Bump, Tag & Deploy
Bump & Tag
Deploy Tag
You can also specify arguments to automate it with scripts:
$ dokku-deploy -h
Usage: dokku-deploy [options]
Options:
-V, --version output the version number
-b, --bump-tag-deploy [bump-type] Bump the version, create tag and deploy [patch])
-t, --bump-tag [bump-type] Bump the version and create a tag [patch])
-d, --deploy <tag> Deploy an existing tag
--setup Run setup on current the git repository
-h, --help output usage information
dokku-deploy
relies on git remote dokku
to be setup before using the tool. If the remote dokku
, does not exist it will automatically run setup. This is required in order to use the CLI tool.
$ dokku-deploy
Dokku Deploy CLI - 0.0.1
Project: my-node-project - 1.2.3
Looks like this repo isn't setup to deploy to dokku.
? Would you like to set it up now? Yes
? Enter your dokku URL (e.g ssh://dokku@example.com/chat-challenge): ssh://dokku@example.com/chat-challenge
Setting up dokku remote URL...
done! You can now re-run your command
Running bump, tag and deploy will prompt for the type of bump to perform before tagging and deploying it to your dokku server.
$ dokku-deploy
Dokku Deploy CLI - 0.0.1
Project: my-node-project - 1.2.3
? What would you like to do? Bump, Tag & Deploy
? Select the type of bump to perform: Patch
Bumping to the next patch version...
pushing to remote...
Bumped and tagged version 1.2.4
Deploying tag v1.2.4...
-----> Cleaning up...
-----> Building my-project from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Node.js app detected
...
Tag v1.2.4 deployed!
This command can also be ran using the arguments -b
or --bump-tag-deploy
followed by the bump type:
$ dokku-deploy --bump-tag-deploy major
Bump and tag will prompt for the type of bump to perform and create a tag. This is the same as running npm version <bump-type>
and pushing to your git
repository.
This will NOT deploy to your dokku server.
$ dokku-deploy
Dokku Deploy CLI - 0.0.1
Project: my-node-project - 1.2.3
? What would you like to do? Bump & Tag
? Select the type of bump to perform: Patch
Bumping to the next patch version...
pushing to remote...
Bumped and tagged version 1.2.4
This command can also be ran using the arguments -t
or --bump-tag
followed by the bump type:
$ dokku-deploy --bump-tag minor
Deploy tag lets you deploy any existing tag to your dokku server. It's very useful when you want to roll back to an existing version. Tags will be sorted and selectable using the arrow keys.
$ dokku-deploy
Dokku Deploy CLI - 0.0.1
Project: my-node-project - 1.2.3
? What would you like to do? Deploy Tag
? Select a tag to deploy: (Use arrow keys)
❯ v1.2.4
v1.2.3
v1.2.2
v1.2.1
This command can also be ran using the arguments -d
or --deploy
followed by the tag name:
$ dokku-deploy --deploy v1.2.4
If you have any issues please submit a bug or feel free to fork the repo and create a PR.
FAQs
A deployment tool for dokku.
The npm package dokku-deploy receives a total of 5 weekly downloads. As such, dokku-deploy popularity was classified as not popular.
We found that dokku-deploy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.