Skip to content

Commit acd119c

Browse files
committed
chore: debug javadoc update
Signed-off-by: BRIAN GLEESON <Brian.Gleeson@ie.ibm.com>
1 parent 4f910ed commit acd119c

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

build/publishJavadoc-gha.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,12 @@ gh auth status
1111

1212
printf "\n>>>>> Finished checking gh auth status...\n"
1313

14-
printf "\n>>>>> Cloning repository's gh-pages branch into directory 'gh-pages'\n"
14+
printf "\n>>>>> Checking out gh-pages branch...\n"
1515
rm -fr ./gh-pages
16-
# TODO this approach doesnt work when using GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} in workflow
1716
git config --global user.email "github-actions[bot]@users.noreply.github.com"
1817
git config --global user.name "github-actions[bot]"
19-
# git clone --branch=gh-pages https://${GH_TOKEN}@github.com/${GITHUB_REPO_SLUG}.git gh-pages
20-
# git clone --branch=gh-pages https://github.com/${GITHUB_REPO_SLUG}.git gh-pages
2118
git checkout -b gh-pages origin/gh-pages
22-
# TODO For now using a hardcoded token in the repo settings secrets, tied to brian.gleeson@ie.ibm.com
23-
# git clone --branch=gh-pages https://${GH_TOKEN}@github.com/${GITHUB_REPO_SLUG}.git gh-pages
24-
printf "\n>>>>> Finished cloning...\n"
25-
26-
# pushd gh-pages
19+
printf "\n>>>>> Finished checking out...\n"
2720

2821
# Create a new directory for this branch/tag and copy the javadocs there.
2922
printf "\n>>>>> Copying javadocs to new directory: docs/%s\n" ${GITHUB_TAG}
@@ -43,6 +36,4 @@ git remote -v
4336
git push origin gh-pages
4437
printf "\n>>>>> Pushed changes...\n"
4538

46-
# popd
47-
4839
printf "\n>>>>> Published javadoc for release build: repo=%s tag=%s\n" ${GITHUB_REPO_SLUG} ${GITHUB_TAG}

modules/cd-tekton-pipeline/src/main/java/com/ibm/cloud/continuous_delivery/cd_tekton_pipeline/v2/CdTektonPipeline.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,12 @@
7979
import java.util.Map.Entry;
8080

8181
/**
82-
* Continuous Delivery Tekton pipeline API definition &lt;br&gt;&lt;br&gt; Maximum request payload size is 512 KB
82+
* Continuous Delivery Tekton Pipeline API definition &lt;br&gt;&lt;br&gt; Maximum request payload size is 512 KB
8383
* &lt;br&gt;&lt;br&gt; All calls require an &lt;strong&gt;Authorization&lt;/strong&gt; HTTP header.
8484
* &lt;br&gt;&lt;br&gt; The following header is the accepted authentication mechanism and required credentials for each
8585
* &lt;ul&gt;&lt;li&gt;&lt;b&gt;Bearer:&lt;/b&gt; an IBM Cloud IAM token (authorized for all endpoints)&lt;/li&gt;.
86+
*
87+
* DEBUGGING TEST
8688
*
8789
* API Version: 2.0.0
8890
*/

0 commit comments

Comments
 (0)