forked from screwdriver-cd/config-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwercker.yml
More file actions
33 lines (26 loc) · 670 Bytes
/
wercker.yml
File metadata and controls
33 lines (26 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
box: node:6
build:
steps:
- npm-install
- npm-test
deploy:
steps:
# Add our deploy key to SSH
- add-ssh-key:
keyname: GIT_KEY
# Add GitHub's SSH fingerprint to SSH known_hosts
- add-to-known_hosts:
hostname: github.com
fingerprint: 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48
type: rsa
- script:
name: Install a version generator
code: npm install -g npm-auto-version
- script:
name: Generate a new tag/version
code: npm-auto-version
# Publish to npm
- turistforeningen/npm-publish
- script:
name: Push Tags to GitHub.com
code: git push origin --tags