generated from coredotbin/template-ansible-project
Fix workflow build source path, bin directory, add test
Some checks failed
Build, test, and deploy Hugo site / deploy-prod (push) Failing after 22s
Some checks failed
Build, test, and deploy Hugo site / deploy-prod (push) Failing after 22s
This commit is contained in:
parent
fda81ac9fa
commit
38755e1e52
@ -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
2
.gitignore
vendored
@ -1,7 +1,7 @@
|
||||
public
|
||||
.vault-password
|
||||
.terraform
|
||||
*.tfvars
|
||||
act_runner*
|
||||
terraform.tfstate
|
||||
terraform.tfstate.backup
|
||||
src/public
|
||||
|
Loading…
x
Reference in New Issue
Block a user