Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
ember-cli-deploy-sh
Advanced tools
An ember-cli-deploy plugin to run shell commands during deploy.
Supports all will* and did* hooks:
willDeploy
, willBuild
, willPrepare
, willUpload
, willActivate
didBuild
, didPrepare
, didUpload
, didActivate
, didDeploy
, didFail
Each hook takes an array of tasks
config/deploy.js
ENV.sh = {
hooks: {
willDeploy: [ {task} ]
}
};
A task is a shell commands defined in a JS Object.
command
options
This is an example of a task that makes a curl request:
// config/deploy.js
require('dotenv').load(); // ember-cli-deploy v0.6.0x has native support for .env
var querystring = require('querystring');
Env.sh = {
hooks: {
didDeploy: [
{
command: 'curl',
options: {
request: 'POST',
form: ['file=@dist-deploy/index.html', 'version=' + process.env.VERSION,
verbose: true,
url: buildURL('https://api.com/new-release', { pass: process.env.PASSWORD })
}
}
]
}
};
function buildURL(url, options) {
return url + '?' + querystring.stringify(options);
}
FAQs
The default blueprint for ember-cli addons.
The npm package ember-cli-deploy-sh receives a total of 1 weekly downloads. As such, ember-cli-deploy-sh popularity was classified as not popular.
We found that ember-cli-deploy-sh 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.