Initial commit
This commit is contained in:
commit
7358a6dbe2
3 changed files with 46 additions and 0 deletions
25
.drone.yml
Normal file
25
.drone.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
type: docker
|
||||
|
||||
steps:
|
||||
- name: slack-begin
|
||||
image: plugins/slack
|
||||
settings:
|
||||
webhook: https://hooks.slack.com/services/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
|
||||
username: Drone
|
||||
template: >
|
||||
{{repo.name}}/{{build.branch}} - #{{build.number}} Started by {{build.author}} (<{{build.link}}|Open>)
|
||||
|
||||
- name: build
|
||||
image: node
|
||||
commands:
|
||||
- npm run build
|
||||
|
||||
- name: slack-end
|
||||
image: plugins/slack
|
||||
settings:
|
||||
webhook: https://hooks.slack.com/services/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
|
||||
username: Drone
|
||||
template: >
|
||||
{{repo.name}}/{{build.branch}} - #{{build.number}} {{uppercasefirst build.status}} after {{since build.started}} (<{{build.link}}|Open>)
|
2
build.sh
Normal file
2
build.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "Building..."
|
||||
echo "Building done."
|
19
package.json
Normal file
19
package.json
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "drone-test-repo",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "sh build.sh"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/MultiFox200/drone-test-repo.git"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/MultiFox200/drone-test-repo/issues"
|
||||
},
|
||||
"homepage": "https://github.com/MultiFox200/drone-test-repo#readme"
|
||||
}
|
Loading…
Reference in a new issue