Skip to content

Commit f72ccbb

Browse files
Added publication of docs to github pages during release
1 parent ce0591e commit f72ccbb

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,9 @@ jobs:
6565
path: |
6666
out/jreleaser/trace.log
6767
out/jreleaser/output.properties
68+
69+
- name: Deploy
70+
uses: peaceiris/actions-gh-pages@v3
71+
with:
72+
github_token: ${{ secrets.GITHUB_TOKEN }}
73+
publish_dir: ./target/generated-docs

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
:project-version: 0.2.0
77
:site-url: https://redislabs-field-engineering.github.io/redis-enterprise-kafka
88

9-
image:https://github.com/{project-owner}/{project-name}/actions/workflows/early-access.yml/badge.svg["Build Status", link="https://github.com/{project-owner}/{project-name}/actions"]
9+
image:https://img.shields.io/github/workflow/status/{project-owner}/{project-name}/EarlyAccess?logo=github["Build Status", link="https://github.com/{project-owner}/{project-name}/actions"]
1010
image:https://codecov.io/gh/{project-owner}/{project-name}/branch/master/graph/badge.svg?token=MTMRRGEWBD["Coverage", link="https://codecov.io/gh/{project-owner}/{project-name}"]
1111

1212
---

docker/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function clean_up {
2828
then
2929
echo -e "Bye!\n"
3030
else
31-
echo -e $1
31+
echo -e "$1"
3232
fi
3333
}
3434

@@ -39,15 +39,15 @@ function test_systems_available {
3939
until $(curl --output /dev/null --silent --head --fail http://localhost:$1); do
4040
printf '.'
4141
sleep 2
42-
let COUNTER+=1
42+
(( COUNTER+=1 ))
4343
if [[ $COUNTER -gt 30 ]]; then
4444
MSG="\nWARNING: Could not reach configured kafka system on http://localhost:$1 \nNote: This script requires curl.\n"
4545

4646
if [[ "$OSTYPE" == "darwin"* ]]; then
4747
MSG+="\nIf using OSX please try reconfiguring Docker and increasing RAM and CPU. Then restart and try again.\n\n"
4848
fi
4949

50-
echo -e $MSG
50+
echo -e "$MSG"
5151
clean_up "$MSG"
5252
exit 1
5353
fi

0 commit comments

Comments
 (0)