Merge pull request #32 from bartvdbraak/feat/unlighthouse

refactor: Remove debug info and fix `ref`
This commit is contained in:
Bart van der Braak 2023-06-12 01:46:44 +02:00 committed by GitHub
commit 0f6f2a86ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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