File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112
112
git config --global user.email 'github-actions[doc-deploy-bot]@users.noreply.github.com'
113
113
git commit -m "Docs for pull request ${PR_NUM}"
114
114
git push tokened_docs gh-pages
115
- - name : Unpublished pull-request docs
115
+ - name : Unpublish pull-request docs
116
116
if : ${{ github.event.pull_request && github.event.action == 'closed' }}
117
117
env :
118
118
PR_NUM : ${{ github.event.number }}
@@ -122,6 +122,8 @@ jobs:
122
122
git fetch tokened_docs
123
123
git checkout --track tokened_docs/gh-pages
124
124
echo `pwd`
125
+ ls
126
+ [ -d pulls ] && ls pulls && echo "This is pull/${PR_NUM}"
125
127
[ -d pulls/${PR_NUM} ] && git rm -rf pulls/${PR_NUM}
126
128
git config --global user.name 'github-actions[doc-deploy-bot]'
127
129
git config --global user.email 'github-actions[doc-deploy-bot]@users.noreply.github.com'
You can’t perform that action at this time.
0 commit comments