Skip to content

Commit 538a5d1

Browse files
author
Vladimir Kotal
committed
the token should not be needed
1 parent 5188c7d commit 538a5d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/javadoc.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,4 @@ jobs:
3232
OPENGROK_PULL_REQUEST: ${{ github.head_ref }}
3333
OPENGROK_REF: ${{ github.ref }}
3434
OPENGROK_BUILD_DIR: ${{ github.workspace }}
35-
GH_PAGES_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3635
run: ./dev/javadoc.sh

dev/javadoc.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ if [[ "${OPENGROK_REPO_SLUG}" != "oracle/opengrok" ||
1515
fi
1616

1717
BRANCH="gh-pages"
18-
echo -e "Publishing javadoc to $BRANCH...\n"
1918

19+
echo -e "Building Javadoc...\n"
2020
./mvnw -DskipTests=true site
2121

22+
echo -e "Publishing javadoc to $BRANCH...\n"
2223
git config --global user.email "[email protected]"
2324
git config --global user.name "Foo Bar"
2425
git clone --quiet --branch=$BRANCH \
25-
https://${GH_PAGES_TOKEN}@github.com/oracle/opengrok "$BRANCH"
26+
https://github.com/oracle/opengrok "$BRANCH"
2627

2728
cd "$BRANCH"
2829
if [[ -d ./javadoc ]]; then

0 commit comments

Comments
 (0)