File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change 27
27
ref : release/4.2
28
28
path : branch-4.2
29
29
30
- - name : Checkout branch
31
- uses : actions/checkout@v4
32
- with :
33
- fetch-depth : 32
34
- ref : release/4.1
35
- path : branch-4.1
36
-
37
- - name : Checkout branch
38
- uses : actions/checkout@v4
39
- with :
40
- fetch-depth : 32
41
- ref : release/3.4
42
- path : branch-3.4
43
-
44
30
- name : Checkout gh-pages
45
31
uses : actions/checkout@v4
46
32
with :
67
53
echo "Copying static files into place..."
68
54
cp -R domains "$GITHUB_WORKSPACE/WORK"
69
55
70
- cd $GITHUB_WORKSPACE/branch-4.1/documentation
71
- echo "Building documentation for 4.1 minor version..."
72
- 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-)
73
- echo "Latest tag is $latest_41_tag..."
74
- 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
76
- hugo -s site -d "$GITHUB_WORKSPACE/WORK/4.1" -b https://oracle.github.io/weblogic-kubernetes-operator/4.1
77
-
78
- cd $GITHUB_WORKSPACE/branch-3.4/documentation
79
- echo "Building documentation for 3.4 minor version..."
80
- hugo -s site -d "$GITHUB_WORKSPACE/WORK/3.4" -b https://oracle.github.io/weblogic-kubernetes-operator/3.4
81
-
82
56
cd $GITHUB_WORKSPACE/gh-pages
83
57
find . -maxdepth 1 -mindepth 1 -not -name '[0-9]*' -not -name '.git*' -exec rm -Rf {} \;
84
- rm -Rf 3.4 4.1
85
58
86
59
cp -R $GITHUB_WORKSPACE/WORK/* .
87
60
git config --global user.name "github-actions[bot]"
You can’t perform that action at this time.
0 commit comments