Add FixIt theme clone and use --theme FixIt for build
This commit is contained in:
@@ -12,10 +12,15 @@ jobs:
|
||||
set -e
|
||||
hugo new site /tmp/hugo-site
|
||||
|
||||
- name: Clone FixIt theme
|
||||
run: |
|
||||
set -e
|
||||
git clone --depth=1 http://192.168.254.5:3000/blogs/FixIt.git /tmp/hugo-site/themes/FixIt
|
||||
|
||||
- name: Clone repository to content directory
|
||||
run: |
|
||||
set -e
|
||||
REPO_URL="http://192.168.8.126:3000/blogs/outcomes.git"
|
||||
REPO_URL="http://192.168.254.5:3000/blogs/outcomes.git"
|
||||
if [ -n "${CI_REPOSITORY_URL:-}" ]; then
|
||||
REPO_URL="${CI_REPOSITORY_URL}"
|
||||
fi
|
||||
@@ -26,7 +31,7 @@ jobs:
|
||||
working-directory: /tmp/hugo-site
|
||||
run: |
|
||||
set -e
|
||||
hugo --minify
|
||||
hugo --minify --theme FixIt
|
||||
|
||||
- name: Upload public directory
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user