File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,16 @@ steps:
93
93
94
94
update_documentation :
95
95
title : " Update documentation http://cli.codefresh.io"
96
- image : codefresh/cli-build
96
+ image : docker:18.01
97
97
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"
99
102
- " echo Building public docs"
100
- - " yarn build-public-docs"
103
+ - " npm run build-public-docs"
101
104
- " 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'
103
107
environment :
104
108
- HUGO_VERSION=0.32.0
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " codefresh" ,
3
- "version" : " 0.7.9 " ,
3
+ "version" : " 0.8.0 " ,
4
4
"description" : " Codefresh command line utility" ,
5
5
"main" : " index.js" ,
6
6
"preferGlobal" : true ,
You can’t perform that action at this time.
0 commit comments