File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed
Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,35 @@ jobs:
5050 working-directory : .github/scripts
5151 run : npm run add-code-samples -- "../../openapi" "openapi.*\\.json"
5252
53+ - name : Debug - show OpenAPI file changes before publish
54+ working-directory : openapi
55+ run : |
56+ echo "== Files in ./openapi (target of publish) =="
57+ ls -la
58+ echo ""
59+ echo "== Git status (porcelain) =="
60+ git status --porcelain || true
61+ echo ""
62+ echo "== Git diff (stat) =="
63+ git diff --stat || true
64+ echo ""
65+ echo "== Git diff (names) =="
66+ git diff --name-only || true
67+ echo ""
68+ echo "== SHA256 for openapi*.json (for quick comparison in logs) =="
69+ shasum -a 256 openapi*.json || true
70+ echo ""
71+ echo "== Compare against current en-api-docs branch (if available) =="
72+ git fetch --depth=1 origin en-api-docs || true
73+ echo "-- SHA256 from origin/en-api-docs (openapi.json) --"
74+ git show origin/en-api-docs:openapi.json | shasum -a 256 || true
75+ echo "-- SHA256 from origin/en-api-docs (openapi-v2025.0.json) --"
76+ git show origin/en-api-docs:openapi-v2025.0.json | shasum -a 256 || true
77+
5378 - name : Push openapi directory to en-api-docs branch
54795580 env :
5681 REPO : self
57- BRANCH : refs/heads/ en-api-docs
82+ BRANCH : en-api-docs
5883 FOLDER : openapi
5984 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments