mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-26 23:11:21 +00:00
refactor: Remove debug info and fix ref
This commit is contained in:
parent
1fe572c6eb
commit
ab827b9b3c
1 changed files with 1 additions and 8 deletions
9
.github/workflows/gh-pages-cleanup.yaml
vendored
9
.github/workflows/gh-pages-cleanup.yaml
vendored
|
@ -13,17 +13,10 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v3.5.3
|
||||
|
||||
- run: |
|
||||
echo GITHUB_ACTION: $GITHUB_ACTION
|
||||
echo GITHUB_WORKFLOW: $GITHUB_WORKFLOW
|
||||
echo GITHUB_EVENT_NAME: $GITHUB_EVENT_NAME
|
||||
echo GITHUB_EVENT_PATH: $GITHUB_EVENT_PATH
|
||||
cat $GITHUB_EVENT_PATH
|
||||
|
||||
- name: Delete directory in gh-pages
|
||||
if: github.event.ref_type == 'branch'
|
||||
run: |
|
||||
branchName=$(echo "${{ github.ref }}" | sed -e 's,^refs/heads/,,')
|
||||
branchName=$(echo "${{ github.event.ref }}" | sed -e 's,^refs/heads/,,')
|
||||
if [ -d "./.unlighthouse/${branchName}" ]; then
|
||||
git fetch --all
|
||||
git checkout gh-pages
|
||||
|
|
Loading…
Reference in a new issue