Skip to content

Commit 5d5bbda

Browse files
committed
Use Hugo 0.133.0
1 parent 536e9b5 commit 5d5bbda

File tree

3 files changed

+8
-20
lines changed

3 files changed

+8
-20
lines changed

.github/workflows/publish-gh-pages.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@ jobs:
3434
ref: release/4.1
3535
path: branch-4.1
3636

37-
- name: Checkout branch
38-
uses: actions/checkout@v4
39-
with:
40-
fetch-depth: 32
41-
ref: release/4.0
42-
path: branch-4.0
43-
4437
- name: Checkout branch
4538
uses: actions/checkout@v4
4639
with:
@@ -57,7 +50,7 @@ jobs:
5750

5851
- name: Build and publish site
5952
run: |
60-
curl -fL -o hugo.tar.gz "https://github.com/gohugoio/hugo/releases/download/v0.108.0/hugo_0.108.0_Linux-64bit.tar.gz"
53+
curl -fL -o hugo.tar.gz "https://github.com/gohugoio/hugo/releases/download/v0.133.0/hugo_0.133.0_Linux-64bit.tar.gz"
6154
tar -xf hugo.tar.gz
6255
export PATH="$PWD:$PATH"
6356
mkdir $GITHUB_WORKSPACE/WORK
@@ -69,6 +62,7 @@ jobs:
6962
latest_42_tag=$(git ls-remote https://github.com/oracle/weblogic-kubernetes-operator.git --h --sort origin "refs/tags/v*" | cut -f2 | grep v4.2 | tail -1 | cut -c12-)
7063
echo "Latest tag is $latest_42_tag..."
7164
echo $latest_41_tag >| $GITHUB_WORKSPACE/branch-4.2/documentation/site/layouts/shortcodes/latestVersion.html
65+
cat $GITHUB_WORKSPACE/branch-4.2/documentation/site/layouts/shortcodes/latestVersion.html
7266
hugo -s site -d "$GITHUB_WORKSPACE/WORK" -b https://oracle.github.io/weblogic-kubernetes-operator
7367
echo "Copying static files into place..."
7468
cp -R domains "$GITHUB_WORKSPACE/WORK"
@@ -78,22 +72,16 @@ jobs:
7872
latest_41_tag=$(git ls-remote https://github.com/oracle/weblogic-kubernetes-operator.git --h --sort origin "refs/tags/v*" | cut -f2 | grep v4.1 | tail -1 | cut -c12-)
7973
echo "Latest tag is $latest_41_tag..."
8074
echo $latest_41_tag >| $GITHUB_WORKSPACE/branch-4.1/documentation/site/layouts/shortcodes/latestVersion.html
75+
cat $GITHUB_WORKSPACE/branch-4.1/documentation/site/layouts/shortcodes/latestVersion.html
8176
hugo -s site -d "$GITHUB_WORKSPACE/WORK/4.1" -b https://oracle.github.io/weblogic-kubernetes-operator/4.1
8277
83-
cd $GITHUB_WORKSPACE/branch-4.0/documentation
84-
echo "Building documentation for 4.0 minor version..."
85-
latest_40_tag=$(git ls-remote https://github.com/oracle/weblogic-kubernetes-operator.git --h --sort origin "refs/tags/v*" | cut -f2 | grep v4.0 | tail -1 | cut -c12-)
86-
echo "Latest tag is $latest_40_tag..."
87-
echo $latest_40_tag >| $GITHUB_WORKSPACE/branch-4.0/documentation/site/layouts/shortcodes/latestVersion.html
88-
hugo -s site -d "$GITHUB_WORKSPACE/WORK/4.0" -b https://oracle.github.io/weblogic-kubernetes-operator/4.0
89-
9078
cd $GITHUB_WORKSPACE/branch-3.4/documentation
9179
echo "Building documentation for 3.4 minor version..."
9280
hugo -s site -d "$GITHUB_WORKSPACE/WORK/3.4" -b https://oracle.github.io/weblogic-kubernetes-operator/3.4
9381
9482
cd $GITHUB_WORKSPACE/gh-pages
9583
find . -maxdepth 1 -mindepth 1 -not -name '[0-9]*' -not -name '.git*' -exec rm -Rf {} \;
96-
rm -Rf 3.4 4.0 4.1
84+
rm -Rf 3.4 4.1
9785
9886
cp -R $GITHUB_WORKSPACE/WORK/* .
9987
git config --global user.name "github-actions[bot]"

documentation/site/content/managing-domains/accessing-the-domain/weblogic-admin-console.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The following example sets up an ingress path routing rule to access a WebLogic
7575

7676
`$ export LB_PORT=$(kubectl -n traefik get service traefik-operator -o jsonpath='{.spec.ports[?(@.name=="web")].nodePort}')`
7777

78-
If you have an [FMW Infrastructure]({{< relref "/managing-fmw-domains.md" >}}) domain, then you can add an ingress path routing rule for the PathPrefix `/em` and access Fusion Middleware Control (Enterprise Manager) using the following URL:
78+
If you have an [FMW Infrastructure]({{< relref "/managing-domains/managing-fmw-domains.md" >}}) domain, then you can add an ingress path routing rule for the PathPrefix `/em` and access Fusion Middleware Control (Enterprise Manager) using the following URL:
7979

8080
```
8181
http://${HOSTNAME}:${LB_PORT}/em
@@ -152,7 +152,7 @@ The following example sets up load balancer routing for access to the WebLogic S
152152
https://${HOSTNAME}:${SSLPORT}/console
153153
```
154154

155-
If you have an [FMW Infrastructure]({{< relref "/managing-fmw-domains.md" >}}) domain, then you can add an ingress path routing rule for the PathPrefix `/em` and access Fusion Middleware Control (Enterprise Manager) using the following URL:
155+
If you have an [FMW Infrastructure]({{< relref "/managing-domains/managing-fmw-domains.md" >}}) domain, then you can add an ingress path routing rule for the PathPrefix `/em` and access Fusion Middleware Control (Enterprise Manager) using the following URL:
156156

157157
```
158158
https://${HOSTNAME}:${SSLPORT}/em
@@ -173,7 +173,7 @@ Use the following steps to configure a `NodePort` to access the WebLogic Server
173173
```
174174
The `adminserver-NodePort` is the port number of the Administration Server outside the Kubernetes cluster.
175175

176-
If you have an [FMW Infrastructure]({{< relref "/managing-fmw-domains.md" >}}) domain, then you can also access Fusion Middleware Control (Enterprise Manager) using the following URL:
176+
If you have an [FMW Infrastructure]({{< relref "/managing-domains/managing-fmw-domains.md" >}}) domain, then you can also access Fusion Middleware Control (Enterprise Manager) using the following URL:
177177

178178
```
179179
http://hostname:adminserver-NodePort/em
@@ -206,7 +206,7 @@ A Kubernetes port forward command is convenient for development use cases but is
206206

207207
* `${LOCAL_PORT}` is the local port specified on the `kubectl port-forward` command line.
208208

209-
If you have an [FMW Infrastructure]({{< relref "/managing-fmw-domains.md" >}}) domain, then you can also access Fusion Middleware Control (Enterprise Manager) using the following URL:
209+
If you have an [FMW Infrastructure]({{< relref "/managing-domains/managing-fmw-domains.md" >}}) domain, then you can also access Fusion Middleware Control (Enterprise Manager) using the following URL:
210210

211211
```
212212
http://${HOSTNAME}:${LOCAL_PORT}/em

0 commit comments

Comments
 (0)