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