diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 88cf7d9..dcc8ccb 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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