Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Codeship create project payload
{
"repository_url": "git@github.com:emartech/test-example-app.git",
"type": "basic",
"setup_commands": [
"npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN",
"npm install"
],
"test_pipelines": [
{
"name": "test",
"commands": [
"npm test1",
"npm run code-style"
]
}
],
"deployment_pipelines": [
{
"branch": {
"branch_name": "master",
"match_mode": "exact"
},
"config": {
"commands": [
"npm run build",
"npm run release"
]
},
"position": 1
}
],
"environment_variables": [
{
"name": "NPM_TOKEN",
"value": "SECRET"
},
{
"name": "GH_TOKEN",
"value": "SECRET"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.