|
@@ -52,7 +52,7 @@ steps:
|
52
|
52
|
image: node:12
|
53
|
53
|
commands:
|
54
|
54
|
- echo ${DRONE_BUILD_CREATED}
|
55
|
|
- - git clone https://www.versioncontrol.me/frontwork-documentation/${DRONE_REPO_NAME}.git; cd ${DRONE_REPO_NAME} && rm -rf ./*; cp -r ../docs/* .; cp ../LICENSE.md .
|
|
55
|
+ - git clone https://gitea.nitowa.xyz/frontwork-documentation/${DRONE_REPO_NAME}.git; cd ${DRONE_REPO_NAME} && rm -rf ./*; cp -r ../docs/* .; cp ../LICENSE.md .
|
56
|
56
|
- sed -i '1,3d; $d' README.md && echo "### Version\n\n${DRONE_TAG}\n" >> ./README.md
|
57
|
57
|
- sed -i -e 1,4d ./globals.md && cat ./globals.md >> ./README.md
|
58
|
58
|
- git add --all; git -c user.email="${DRONE_COMMIT_AUTHOR_EMAIL}" -c user.name="${DRONE_COMMIT_AUTHOR}" commit --all --allow-empty --message "generated from tag ${DRONE_TAG}"
|
|
@@ -69,10 +69,10 @@ steps:
|
69
|
69
|
- name: npm publish
|
70
|
70
|
image: plugins/npm
|
71
|
71
|
settings:
|
72
|
|
- username: frontwork
|
|
72
|
+ username: nitowa
|
73
|
73
|
password:
|
74
|
74
|
from_secret: npm_password
|
75
|
|
- email: frontwork.me@gmail.com
|
|
75
|
+ email: peter.millauer@gmail.com
|
76
|
76
|
when:
|
77
|
77
|
event:
|
78
|
78
|
- tag
|