diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 757e7bad..48d8600a 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -49,7 +49,7 @@ jobs: HUGO_ENVIRONMENT: production HUGO_ENV: production run: | - hugo --minify -s exampleSite --themesDir ../.. -d ../docs --baseURL https://nunocoracao.github.io/blowfish/ + hugo --minify -s exampleSite --themesDir ../.. -d ../docs --baseURL ${{ steps.deployment.outputs.page_url }} - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: @@ -59,7 +59,7 @@ jobs: deploy: environment: name: github-pages - url: https://nunocoracao.github.io/blowfish/ + url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build steps: