Skip to content

Commit 4c5b1d1

Browse files
attempt to triage failed documentation build
1 parent 0864342 commit 4c5b1d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/generate-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
git config --global user.email 'github-actions[doc-deploy-bot]@users.noreply.github.com'
113113
git commit -m "Docs for pull request ${PR_NUM}"
114114
git push tokened_docs gh-pages
115-
- name: Unpublished pull-request docs
115+
- name: Unpublish pull-request docs
116116
if: ${{ github.event.pull_request && github.event.action == 'closed' }}
117117
env:
118118
PR_NUM: ${{ github.event.number }}
@@ -122,6 +122,8 @@ jobs:
122122
git fetch tokened_docs
123123
git checkout --track tokened_docs/gh-pages
124124
echo `pwd`
125+
ls
126+
[ -d pulls ] && ls pulls && echo "This is pull/${PR_NUM}"
125127
[ -d pulls/${PR_NUM} ] && git rm -rf pulls/${PR_NUM}
126128
git config --global user.name 'github-actions[doc-deploy-bot]'
127129
git config --global user.email 'github-actions[doc-deploy-bot]@users.noreply.github.com'

0 commit comments

Comments
 (0)