Fix workflows to use local Paige
This commit is contained in:
6
.github/workflows/pages.yml
vendored
6
.github/workflows/pages.yml
vendored
@@ -26,7 +26,8 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd exampleSite
|
cd exampleSite
|
||||||
hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --theme paige --themesDir ../..
|
echo "replace github.com/willfaught/paige => ../" >>go.mod
|
||||||
|
hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v1
|
||||||
with:
|
with:
|
||||||
@@ -45,7 +46,8 @@ jobs:
|
|||||||
# - name: Build
|
# - name: Build
|
||||||
# run: |
|
# run: |
|
||||||
# cd exampleSite
|
# cd exampleSite
|
||||||
# hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --theme paige --themesDir ../..
|
# echo "replace github.com/willfaught/paige => ../" >>go.mod
|
||||||
|
# hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify
|
||||||
deploy:
|
deploy:
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
|
Reference in New Issue
Block a user