File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,17 +86,17 @@ jobs:
8686 --overwrite-if-exists \
8787 --output-dir template-base
8888
89- - name : Generate new template output
89+ - name : Generate base template output
9090 if : env.SHA_CHANGED == 'true'
9191 run : |
9292 rm -rf ~/.cookiecutters/*
93- mkdir -p template-new
94- cookiecutter template-source \
93+ mkdir -p template-base
94+ jq '.cookiecutter.templates = "main"' .cookiecutter.json \
95+ > tmp.json && mv tmp.json .cookiecutter.json # remove if not needed
96+ cookiecutter base-template \
9597 --replay-file .cookiecutter.json \
96- --no-input \
97- # --extra-context '{"templates": "main"}' # uncomment if still needed
9898 --overwrite-if-exists \
99- --output-dir template-new
99+ --output-dir template-base
100100
101101 - name : Apply patch if changes & create PR
102102 if : env.SHA_CHANGED == 'true'
You can’t perform that action at this time.
0 commit comments