From 38755e1e5240fbc05ec6e81fce56f0266cc549e6 Mon Sep 17 00:00:00 2001 From: Corbin Bartsch Date: Sun, 23 Mar 2025 22:38:17 -0400 Subject: [PATCH] Fix workflow build source path, bin directory, add test --- .gitea/workflows/build_and_deploy.yaml | 2 +- .gitignore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build_and_deploy.yaml b/.gitea/workflows/build_and_deploy.yaml index 40ecec5..ed99dc9 100644 --- a/.gitea/workflows/build_and_deploy.yaml +++ b/.gitea/workflows/build_and_deploy.yaml @@ -27,7 +27,7 @@ jobs: - name: Unpack Hugo run: tar -xf /tmp/hugo/* -C ${{ gitea.workspace }}/bin - name: Build the static webpage - run: ${{ gitea.workspace }}/bin/hugo --minify + run: ${{ gitea.workspace }}/bin/hugo -s ${{ gitea.workspace }}/src -d ${{ gitea.workspace }}/public --minify - name: Test static page run: bash ${{ gitea.workspace}}/bin/test_static_page.sh - name: Copy private key diff --git a/.gitignore b/.gitignore index 05604ef..50787df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ +public .vault-password .terraform *.tfvars act_runner* terraform.tfstate terraform.tfstate.backup -src/public