Skip to content

Commit 894dff5

Browse files
committed
chore: revert test change
Signed-off-by: BRIAN GLEESON <Brian.Gleeson@ie.ibm.com>
1 parent 695c2cf commit 894dff5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
- name: Publish Javadocs
5454
env:
55-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
5656
GITHUB_REPO_SLUG: ${{ github.repository }}
5757
GITHUB_TAG: ${{ github.ref_name}}
5858
run: |

build/publishJavadoc-gha.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ printf "\n>>>>> Publishing javadoc for release build: repo=%s tag=%s\n" ${GITHUB
99

1010
printf "\n>>>>> Cloning repository's gh-pages branch into directory 'gh-pages'\n"
1111
rm -fr ./gh-pages
12-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
13-
git config --global user.name "github-actions[bot]"
12+
# TODO this approach doesnt work when using GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} in workflow
13+
# git config --global user.email "github-actions[bot]@users.noreply.github.com"
14+
# git config --global user.name "github-actions[bot]"
15+
# git clone --branch=gh-pages https://${GH_TOKEN}@github.com/${GITHUB_REPO_SLUG}.git gh-pages
16+
# TODO For now using a hardcoded token in the repo settings secrets, tied to brian.gleeson@ie.ibm.com
1417
git clone --branch=gh-pages https://${GH_TOKEN}@github.com/${GITHUB_REPO_SLUG}.git gh-pages
1518
printf "\n>>>>> Finished cloning...\n"
1619

0 commit comments

Comments
 (0)