Skip to content

Commit 09f3bf1

Browse files
committed
Debug odd git behavior.
1 parent a157ec3 commit 09f3bf1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pages.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,17 @@ jobs:
2121
- uses: actions/checkout@v2
2222

2323
- name: "Checkout docs branch"
24-
run: git checkout docs
24+
run: |
25+
set -x
26+
git show-ref
27+
git branch
28+
git fetch origin docs --depth=1
29+
git branch
30+
git checkout docs
2531
2632
- name: Update OpenAPI YAML
2733
run: |
34+
set -x
2835
git checkout ${{ github.ref }} docs/rest_api/api.yaml
2936
git rm --cached docs/rest_api/api.yaml
3037
mv docs/rest_api/api.yaml api/api.yaml

0 commit comments

Comments
 (0)