mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 15:31:21 +00:00
feat: Added correct notation for the branch
This commit is contained in:
parent
e104b3adc0
commit
bb718ae289
1 changed files with 3 additions and 3 deletions
6
.github/workflows/seo-report.yaml
vendored
6
.github/workflows/seo-report.yaml
vendored
|
@ -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 }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue