forked from keptn/lifecycle-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add Netlify configuration and apply advanced doc build (keptn#798)
Added Netlify documentation and basic setup for documentation build. relates: keptn#798 Signed-off-by: Simon Schrottner <[email protected]>
- Loading branch information
Showing
15 changed files
with
17 additions
and
327 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
.github/actions/update-documentation/scripts/requirements.txt
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
.github/actions/update-documentation/scripts/update_docs.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
ref: "page" | ||
path: "$PAGE_DIR" | ||
path: ${{ env.PAGE_DIR }} | ||
|
||
- name: Get Latest Release Information | ||
uses: octokit/[email protected] | ||
|
@@ -33,7 +33,7 @@ jobs: | |
- name: Detect needed Folder Operations | ||
id: folder | ||
run: | | ||
CURRENT_VERSION=`cat $PAGE_DIR/content/en/docs/version` | ||
CURRENT_VERSION=`cat $DOCS_DIR/content/en/docs/version || "unknown"` | ||
echo $CURRENT_VERSION | ||
if [[ "${{ fromJson(steps.latest_release.outputs.data).tag_name }}" == "${{ github.event.release.tag_name }}" ]]; then | ||
if [[ "${{ fromJson(steps.latest_release.outputs.data).tag_name }}" != "$CURRENT_VERSION" ]]; then | ||
|
@@ -60,5 +60,5 @@ jobs: | |
uses: EndBug/add-and-commit@v9 | ||
with: | ||
default_author: github_actions | ||
cwd: "$PAGE_DIR" | ||
cwd: ${{ env.PAGE_DIR }} | ||
message: "releasing documentation ${{ fromJson(steps.latest_release.outputs.data).tag_name }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
version: latest | ||
versions: | ||
- url: /docs/ | ||
version: development | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
versions: | ||
- url: https://main-lifecycle-toolkit.keptn.sh | ||
version: development | ||
github_branch: pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,4 @@ linktitle: Docs | |
description: Learn how to use Keptn. | ||
cascade: | ||
type: docs | ||
version: latest | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.