Skip to content

Commit e6fa6c9

Browse files
Itai GendlerItai Gendler
authored andcommitted
Finalize release and documentation flows
1 parent aa15e34 commit e6fa6c9

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

codefresh-release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,16 @@ steps:
9393

9494
update_documentation:
9595
title: "Update documentation http://cli.codefresh.io"
96-
image: codefresh/cli-build
96+
image: docker:18.01
9797
commands:
98-
- "yarn install"
98+
- "apk update && apk add git nodejs"
99+
- "npm install"
100+
- "echo cleaning previous public dir and recreating worktree"
101+
- "rm -rf public && git worktree add -B gh-pages public origin/gh-pages"
99102
- "echo Building public docs"
100-
- "yarn build-public-docs"
103+
- "npm run build-public-docs"
101104
- "echo Push new docs to gh-pages detached branch"
102-
- 'cd public && git add --all && git commit -m "Publish new documentation for version ${{PACKAGE_VERSION}}"'
105+
- 'git config --global user.email "auto-ci@codefresh.io" && git config --global user.name "Automated CI"'
106+
- 'cd public && git add --all && git commit -m "Publish new documentation for version ${{PACKAGE_VERSION}}" && git push https://${{GITHUB_TOKEN}}@github.com/codefresh-io/cli.git'
103107
environment:
104108
- HUGO_VERSION=0.32.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.7.9",
3+
"version": "0.8.0",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)