feat: Test copying entire project directory.
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
document_title: "Home Performance Report"
|
||||
|
||||
template:
|
||||
path: "{{ lookup('env', 'REPOS') }}/hhe-consult-template/"
|
||||
vars: repo_vars
|
||||
repo:
|
||||
url: "https://git.housh.dev/hhe/consult-template.git"
|
||||
version: "main"
|
||||
|
||||
# Files to copy to the project directory when setting up a new consult project.
|
||||
#
|
||||
@@ -15,22 +16,24 @@ template:
|
||||
# dest: "FileName"
|
||||
# mode: '0600' # optional mode, defaults to 0600
|
||||
copy_on_setup:
|
||||
- src: "project_files/Report.md"
|
||||
dest: "Report.md"
|
||||
- src: "project_files/vars.yml"
|
||||
dest: "vars.yml"
|
||||
- src: "project_files/vault.yml"
|
||||
dest: "vault.yml"
|
||||
- src: "project_directories/img/"
|
||||
dest: img
|
||||
- src: "project_directories/Airflow/"
|
||||
dest: Airflow
|
||||
- src: "project_directories/ManJ/"
|
||||
dest: ManJ
|
||||
- src: project_files/project.gitignore
|
||||
dest: .gitignore
|
||||
- src: project_files/project.justfile
|
||||
dest: justfile
|
||||
- src: "project/"
|
||||
dest: "{{ project_dir }}"
|
||||
# - src: "project_files/Report.md"
|
||||
# dest: "Report.md"
|
||||
# - src: "project_files/vars.yml"
|
||||
# dest: "vars.yml"
|
||||
# - src: "project_files/vault.yml"
|
||||
# dest: "vault.yml"
|
||||
# - src: "project_directories/img/"
|
||||
# dest: img
|
||||
# - src: "project_directories/Airflow/"
|
||||
# dest: Airflow
|
||||
# - src: "project_directories/ManJ/"
|
||||
# dest: ManJ
|
||||
# - src: project_files/project.gitignore
|
||||
# dest: .gitignore
|
||||
# - src: project_files/project.justfile
|
||||
# dest: justfile
|
||||
|
||||
# Files to copy to the build directory when building a consult document.
|
||||
#
|
||||
@@ -41,11 +44,8 @@ copy_on_setup:
|
||||
# dest: "Name"
|
||||
# mode: '0600' # optional mode, defaults to 0600
|
||||
copy_on_build:
|
||||
- "{{ template.path }}/Definitions.md"
|
||||
- "{{ template.path }}/head.tex"
|
||||
- "{{ template.path }}/img"
|
||||
- "{{ template.path }}/Airflow"
|
||||
- "{{ template.path }}/ManJ"
|
||||
- "{{ template_path }}/Definitions.md"
|
||||
- "{{ template_path }}/head.tex"
|
||||
|
||||
# Files to fill with their template values and copy to the build directory.
|
||||
#
|
||||
@@ -56,5 +56,5 @@ copy_on_build:
|
||||
# dest: "Name"
|
||||
# mode: '0600' # optional mode, defaults to 0600
|
||||
template_on_build:
|
||||
- "{{ template.path }}/footer.tex"
|
||||
- "{{ template_path }}/footer.tex"
|
||||
- "{{ project_dir }}/Report.md"
|
||||
|
||||
Reference in New Issue
Block a user