Skip to content

Commit

Permalink
Fixes debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed May 15, 2024
1 parent 6cc4003 commit 036cce9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
run: |
pushd $GITHUB_WORKSPACE/gh-pages
ls -la "$GITHUB_WORKSPACE/gh-pages/branch"
if [[ -e "$GITHUB_WORKSPACE/gh-pages/branch" ]]; then
ls -la "$GITHUB_WORKSPACE/gh-pages/branch"
for name in `ls branch/`
do
if [[ -z "$(git show-ref --quiet ${name})" ]]
Expand All @@ -53,6 +53,8 @@ jobs:
git commit -m "Clean up branch previews"
git push
fi
echo "Done cleaning branches"
build-and-deploy:
permissions:
contents: write # for peaceiris/actions-gh-pages to push
Expand Down

0 comments on commit 036cce9

Please sign in to comment.