Skip to content

Commit 19e1381

Browse files
committedApr 20, 2023
Restoring the CI build
1 parent c924f06 commit 19e1381

File tree

4 files changed

+20
-23
lines changed

4 files changed

+20
-23
lines changed
 

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

+7-15
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ name: "PublishGitHubPages"
88

99
on:
1010
push:
11-
branches: [ main ]
11+
branches:
12+
- main
13+
paths:
14+
- 'documentation/**'
1215
schedule:
13-
- cron: '15 3 * * 1'
16+
- cron: '15 3 * * *'
1417

1518
defaults:
1619
run:
@@ -23,31 +26,20 @@ jobs:
2326

2427
steps:
2528
- name: Checkout main
26-
uses: actions/checkout@v2.3.4
29+
uses: actions/checkout@v3
2730
with:
2831
ref: main
2932
fetch-depth: 32
3033
path: main
3134

3235
- name: Checkout gh-pages
33-
uses: actions/checkout@v2.3.4
36+
uses: actions/checkout@v3
3437
with:
3538
ref: gh-pages
3639
path: gh-pages
3740
token: ${{ secrets.PUBLISH_SECRET }}
3841

39-
- name: Verify changes to documentation present
40-
id: change-check
41-
run: |
42-
cd $GITHUB_WORKSPACE/main
43-
X=`git diff HEAD~1 --name-only | { grep "^documentation" || test $? = 1; } | wc -l`
44-
if [ $X == "0" ]; then
45-
echo 'No changes to the documentation'
46-
else
47-
echo '::set-output name=DOCUMENTATION_CHANGED::true'
48-
fi
4942
- name: Build and publish site
50-
if: ${{ steps.change-check.outputs.DOCUMENTATION_CHANGED == 'true' }}
5143
run: |
5244
curl -fL -o hugo.tar.gz "https://github.com/gohugoio/hugo/releases/download/v0.88.1/hugo_0.88.1_Linux-64bit.tar.gz"
5345
tar -zxf hugo.tar.gz

‎Jenkinsfile

+5
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,11 @@ pipeline {
409409
}
410410
}
411411
}
412+
stage('Call sync job') {
413+
steps {
414+
build job: 'wkt-sync'
415+
}
416+
}
412417
stage('Call Downstream Job') {
413418
steps {
414419
build job: "${downstream_job_name}", propagate: false, parameters: [

‎webui/package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎webui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@oracle/oraclejet": "^13.1.7",
14-
"@oracle/wrc-jet-pack": "^2.4.3",
14+
"@oracle/wrc-jet-pack": "~2.4.4-develop",
1515
"ace-builds": "^1.15.0",
1616
"i18next": "^22.4.9",
1717
"jquery": "^3.6.3",

0 commit comments

Comments
 (0)
Please sign in to comment.