fixed github action bug

This commit is contained in:
Nuno Coração 2022-10-01 00:12:46 +01:00
parent 4c53d04f65
commit 0ca16dc474

View file

@ -49,7 +49,7 @@ jobs:
HUGO_ENVIRONMENT: production HUGO_ENVIRONMENT: production
HUGO_ENV: production HUGO_ENV: production
run: | 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 - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v1
with: with:
@ -59,7 +59,7 @@ jobs:
deploy: deploy:
environment: environment:
name: github-pages name: github-pages
url: https://nunocoracao.github.io/blowfish/ url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps: