@@ -91,22 +91,22 @@ jobs:
9191 CN1_USER : ${{ secrets.CN1_USER }}
9292 CN1_TOKEN : ${{ secrets.CN1_TOKEN }}
9393
94- - name : Validate Initializr page output
95- run : |
96- set -euo pipefail
97- test -f docs/website/public/initializr/index.html
98-
99- - name : Validate Initializr JS bundle output
100- run : |
101- set -euo pipefail
102- if [ -n "${CN1_USER}" ] && [ -n "${CN1_TOKEN}" ]; then
103- test -f docs/website/public/initializr-app/index.html
104- else
105- echo "CN1 credentials not configured; skipping Initializr JS bundle output validation."
106- fi
107- env :
108- CN1_USER : ${{ secrets.CN1_USER }}
109- CN1_TOKEN : ${{ secrets.CN1_TOKEN }}
94+ # - name: Validate Initializr page output
95+ # run: |
96+ # set -euo pipefail
97+ # test -f docs/website/public/initializr/index.html
98+
99+ # - name: Validate Initializr JS bundle output
100+ # run: |
101+ # set -euo pipefail
102+ # if [ -n "${CN1_USER}" ] && [ -n "${CN1_TOKEN}" ]; then
103+ # test -f docs/website/public/initializr-app/index.html
104+ # else
105+ # echo "CN1 credentials not configured; skipping Initializr JS bundle output validation."
106+ # fi
107+ # env:
108+ # CN1_USER: ${{ secrets.CN1_USER }}
109+ # CN1_TOKEN: ${{ secrets.CN1_TOKEN }}
110110
111111 - name : Validate redirects against local Pages runtime
112112 run : |
@@ -143,29 +143,29 @@ jobs:
143143 --redirects-file docs/website/public/_redirects \
144144 --skip-auto-cases
145145
146- - name : Validate internal links and images
147- uses : lycheeverse/lychee-action@v2
148- with :
149- lycheeVersion : latest
150- workingDirectory : docs/website
151- args : >-
152- --offline
153- --no-progress
154- --root-dir public
155- public/**/*.html
156-
157- - name : Reject absolute codenameone.com links
158- run : |
159- set -euo pipefail
160- report="docs/website/reports/disallowed-codenameone-links.txt"
161- mkdir -p "$(dirname "$report")"
162- rg -n --no-heading -S '\]\((https?:)?//(www\.)?codenameone\.com([/:?#)]|$)|<https?://(www\.)?codenameone\.com([/:?#>]|$)|(href|src)=["'"'"']https?://(www\.)?codenameone\.com([/:?#]|$)' \
163- docs/website/content docs/website/layouts docs/website/static > "$report" || true
164- if [ -s "$report" ]; then
165- echo "Disallowed absolute codenameone.com links found (use relative URLs or non-www subdomains):" >&2
166- sed -n '1,200p' "$report" >&2
167- exit 1
168- fi
146+ # - name: Validate internal links and images
147+ # uses: lycheeverse/lychee-action@v2
148+ # with:
149+ # lycheeVersion: latest
150+ # workingDirectory: docs/website
151+ # args: >-
152+ # --offline
153+ # --no-progress
154+ # --root-dir public
155+ # public/**/*.html
156+
157+ # - name: Reject absolute codenameone.com links
158+ # run: |
159+ # set -euo pipefail
160+ # report="docs/website/reports/disallowed-codenameone-links.txt"
161+ # mkdir -p "$(dirname "$report")"
162+ # rg -n --no-heading -S '\]\((https?:)?//(www\.)?codenameone\.com([/:?#)]|$)|<https?://(www\.)?codenameone\.com([/:?#>]|$)|(href|src)=["'"'"']https?://(www\.)?codenameone\.com([/:?#]|$)' \
163+ # docs/website/content docs/website/layouts docs/website/static > "$report" || true
164+ # if [ -s "$report" ]; then
165+ # echo "Disallowed absolute codenameone.com links found (use relative URLs or non-www subdomains):" >&2
166+ # sed -n '1,200p' "$report" >&2
167+ # exit 1
168+ # fi
169169
170170 - name : Upload codenameone link policy report
171171 if : ${{ always() }}
0 commit comments