
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@taschendieb/autodeploy
Advanced tools
Automatically run specified commands on incoming push of git repository
Autodeploy is a small and highly customizable CLI-Tool to automatically deploy your git repo and execute arbitrary commands/scripts after a specific git action (e.g. push, merge, ...)
Currently only GitHub is supported.
npm install @taschendieb/autodeploy -g
yarn global add @taschendieb/autodeploy
Go to "Settings" in your repository and add a webhook to your website/ip with port 1337 (example.com:1337). Subsequently check "Send me everything". The port can be changed in the configuration.
autodeploy deploy <giturl> <path> [name]
This will clone the repository into the specified path and register the webhook internally.
by default this will deploy your git repo after a push on master
For adding custom actions see the 'Customization' section
Finally run the server in listen mode:
autodeploy listen
or register the application to automatcally start on boot
autodeploy autostart
Autodeploy was designed to be as flexible as possible. Therefore you can configure global settings and deployment actions via a JSON configuration. This file is located by default in "~/.autodeploy/config.json"
The Structure looks as follows:
{
// This section is for application-wide configurations
"settings": {
"port": 1337 // port the server listens to
},
// Deployments are configured in this section
"deployments": [
{
"name": "", // user-specified name
"url": "", // url of repository
"path": "", // path in filesystem
"trigger": [
{
"event": "push", // one of githubs webhook events
"branch": "master", // affected branch
// When trigger condition (event and branch matching) is true the following actions will be performed in the order they are listed
"actions": [
{
"name": "pull", // user-specified name for reference
"action": "git reset --hard origin/master && git pull" // shell commannd to execute
}
]
}
]
}
]
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
Automatically run specified commands on incoming push of git repository
We found that @taschendieb/autodeploy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.