test workflow
This commit is contained in:
parent
da2f2c1716
commit
aa471f8846
11
.github/workflows/hugo.yml
vendored
11
.github/workflows/hugo.yml
vendored
@ -19,8 +19,8 @@ env:
|
|||||||
HUGO_VERSION: "0.114.0"
|
HUGO_VERSION: "0.114.0"
|
||||||
GO_VERSION: "1.16.3"
|
GO_VERSION: "1.16.3"
|
||||||
NODE_VERSION: "18.15.0"
|
NODE_VERSION: "18.15.0"
|
||||||
TINA_CLIENT_ID: ${{ secrets.TINA_CLIENT_ID }}
|
TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }}
|
||||||
TINA_TOKEN: ${{ secrets.TINA_TOKEN }}
|
TINA_TOKEN: ${{ vars.TINA_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Build job
|
# Build job
|
||||||
@ -54,10 +54,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish to GitHub Pages
|
- name: Publish to GitHub Pages
|
||||||
run: |
|
run: |
|
||||||
hugo \
|
cd exampleSite; \
|
||||||
--gc \
|
hugo --gc --minify --baseURL "${{ steps.pages.outputs.base_url }}/" || \
|
||||||
--minify \
|
hugo --themesDir ../.. --gc --minify --baseURL "${{ steps.pages.outputs.base_url }}/"
|
||||||
--baseURL "${{ steps.pages.outputs.base_url }}/"
|
|
||||||
echo "SITE BUILT SUCCESSFULLY! LIVE AT: ${{ steps.pages.outputs.base_url }}"
|
echo "SITE BUILT SUCCESSFULLY! LIVE AT: ${{ steps.pages.outputs.base_url }}"
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
|
Loading…
Reference in New Issue
Block a user