mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 15:31:21 +00:00
fix: Final fix to match branch as directory
This commit is contained in:
parent
8d27374774
commit
e6d1b363e9
1 changed files with 1 additions and 2 deletions
3
.github/workflows/gh-pages-cleanup.yaml
vendored
3
.github/workflows/gh-pages-cleanup.yaml
vendored
|
@ -18,9 +18,8 @@ jobs:
|
|||
run: |
|
||||
git fetch --all
|
||||
git checkout gh-pages
|
||||
git pull
|
||||
branchName=$(echo "${{ github.event.ref }}" | sed -e 's,^refs/heads/,,')
|
||||
if [ -d "./.unlighthouse/${branchName}" ]; then
|
||||
if [ -d "./${branchName}" ]; then
|
||||
git rm -rf --ignore-unmatch "${branchName}"
|
||||
git commit -m "Cleanup directory for deleted branch ${branchName}"
|
||||
git push origin gh-pages
|
||||
|
|
Loading…
Reference in a new issue