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
|
- name: Unpack Hugo
|
||||||
run: tar -xf /tmp/hugo/* -C ${{ gitea.workspace }}/bin
|
run: tar -xf /tmp/hugo/* -C ${{ gitea.workspace }}/bin
|
||||||
- name: Build the static webpage
|
- 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
|
- name: Test static page
|
||||||
run: bash ${{ gitea.workspace}}/bin/test_static_page.sh
|
run: bash ${{ gitea.workspace}}/bin/test_static_page.sh
|
||||||
- name: Copy private key
|
- name: Copy private key
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,7 +1,7 @@
|
|||||||
|
public
|
||||||
.vault-password
|
.vault-password
|
||||||
.terraform
|
.terraform
|
||||||
*.tfvars
|
*.tfvars
|
||||||
act_runner*
|
act_runner*
|
||||||
terraform.tfstate
|
terraform.tfstate
|
||||||
terraform.tfstate.backup
|
terraform.tfstate.backup
|
||||||
src/public
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user