Skip to content

Commit f02ac3b

Browse files
Itai GendlerItai Gendler
Itai Gendler
authored and
Itai Gendler
committed
Update release.yml to update documentation site aswell
1 parent fc1404e commit f02ac3b

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

codefresh-release.yml

+10
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,13 @@ steps:
8989
- "mv ./dist/codefresh-win.exe ./dist/codefresh.exe"
9090
- "zip codefresh-v${{PACKAGE_VERSION}}-win-x64.zip README.md LICENSE -j ./dist/codefresh.exe "
9191
- 'curl --fail -X POST -H "Content-Type:application/octet-stream" -H "Authorization: token ${{GITHUB_TOKEN}}" --data-binary @codefresh-v${{PACKAGE_VERSION}}-win-x64.zip https://uploads.github.com/repos/codefresh-io/cli/releases/${{GITHUB_RELEASE_ID}}/assets?name=codefresh-v${{PACKAGE_VERSION}}-win-x64.zip'
92+
93+
94+
update_documentation:
95+
title: "Update documentation http://cli.codefresh.io"
96+
image: codefresh/cli-build
97+
commands:
98+
- "echo Building public docs"
99+
- "yarn build-public-docs"
100+
- "Push new docs to gh-pages detached branch"
101+
- 'cd public && git add --all && git commit -m "Publish new documentation for version ${{PACKAGE_VERSION}}"'

docs/content/getting-started/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight = 10
66
+++
77

88
## Install
9-
Install the CLI through one of the possible ways described in the [Installation](/installation) page
9+
Install the CLI through one of the possible ways described in the [Installation](/installation) page.
1010

1111
## Authenticate
1212
In order to start working with the cli you will need to update the authentication configuration. <br />

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.7.7",
3+
"version": "0.7.8",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)