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:
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 "[email protected] " && 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
Original file line number Diff line number Diff line change 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 ,
You can’t perform that action at this time.
0 commit comments