File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,28 @@ 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+
5371 - name : Push openapi directory to en-api-docs branch
54725573 env :
5674 REPO : self
57- BRANCH : refs/heads/ en-api-docs
75+ BRANCH : en-api-docs
5876 FOLDER : openapi
5977 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments