mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 07:21:20 +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
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3.5.3
|
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
|
- name: Delete directory in gh-pages
|
||||||
if: github.event.ref_type == 'branch'
|
if: github.event.ref_type == 'branch'
|
||||||
run: |
|
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
|
if [ -d "./.unlighthouse/${branchName}" ]; then
|
||||||
git fetch --all
|
git fetch --all
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
|
|
Loading…
Reference in a new issue