|
|
@ -50,7 +50,7 @@ jobs:
|
|
|
|
HUGO_ENV: production
|
|
|
|
HUGO_ENV: production
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cd exampleSite
|
|
|
|
cd exampleSite
|
|
|
|
hugo --minify --baseURL https://willfaught.github.io/paige --themesDir ../..
|
|
|
|
hugo --minify --baseURL ${{ steps.pages.outputs.base_url }} --themesDir ../..
|
|
|
|
- name: Upload artifact
|
|
|
|
- name: Upload artifact
|
|
|
|
uses: actions/upload-pages-artifact@v1
|
|
|
|
uses: actions/upload-pages-artifact@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -60,7 +60,7 @@ jobs:
|
|
|
|
deploy:
|
|
|
|
deploy:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
name: github-pages
|
|
|
|
name: github-pages
|
|
|
|
url: https://willfaught.github.io/paige
|
|
|
|
url: ${{ steps.pages.outputs.base_url }}
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
needs: build
|
|
|
|
needs: build
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|