Fix workflow build source path, bin directory, add test
Some checks failed
Build, test, and deploy Hugo site / deploy-prod (push) Failing after 22s

This commit is contained in:
Corbin 2025-03-23 22:38:17 -04:00
parent fda81ac9fa
commit 38755e1e52
Signed by: coredotbin
GPG Key ID: B03E030E4322E9D5
2 changed files with 2 additions and 2 deletions

View File

@ -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

2
.gitignore vendored
View File

@ -1,7 +1,7 @@
public
.vault-password
.terraform
*.tfvars
act_runner*
terraform.tfstate
terraform.tfstate.backup
src/public