From bb718ae289e8dadd3b37ce782e85021a5726fab9 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Sun, 11 Jun 2023 01:26:52 +0200 Subject: [PATCH] feat: Added correct notation for the branch --- .github/workflows/seo-report.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/seo-report.yaml b/.github/workflows/seo-report.yaml index 7b4cc4b..6f17cbe 100644 --- a/.github/workflows/seo-report.yaml +++ b/.github/workflows/seo-report.yaml @@ -17,7 +17,7 @@ jobs: if: github.event.deployment_status.state == 'success' environment: name: github-pages - url: https://${{ github.repository_owner }}.github.io/${{ github.head_ref }}/ + url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{ steps.git-branch.outputs.SOURCE_REF }} runs-on: ubuntu-latest steps: - name: Check out @@ -47,12 +47,12 @@ jobs: unlighthouse-ci \ --site "${{ github.event.deployment_status.target_url }}" \ --build-static \ - --router-prefix "${{ github.event.repository.name }}/${{ github.head_ref }}" + --router-prefix "${{ github.event.repository.name }}/${{ steps.git-branch.outputs.SOURCE_REF }}" - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GH_PAGES_TOKEN }} publish_dir: ./.unlighthouse - destination_dir: ${{ github.head_ref }} + destination_dir: ${{ steps.git-branch.outputs.SOURCE_REF }}