mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
chore: add Github Pages commit message variable
This commit is contained in:
parent
d9b2bc3a4e
commit
610d5ef092
2 changed files with 5 additions and 1 deletions
3
RELEASE.md
Normal file
3
RELEASE.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Release type: patch
|
||||
|
||||
Make GitHub Pages commit message configurable via a variable
|
||||
|
|
@ -37,6 +37,7 @@ DROPBOX_DIR={{dropbox_dir}}
|
|||
{% endif %}
|
||||
{% if github %}
|
||||
GITHUB_PAGES_BRANCH={{github_pages_branch}}
|
||||
GITHUB_PAGES_COMMIT_MESSAGE=Generate Pelican site
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
|
@ -161,7 +162,7 @@ cf_upload: publish
|
|||
{% if github %}
|
||||
{% set upload = upload + ["github"] %}
|
||||
github: publish
|
||||
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) "$(OUTPUTDIR)"
|
||||
ghp-import -m "$(GITHUB_PAGES_COMMIT_MESSAGE)" -b $(GITHUB_PAGES_BRANCH) "$(OUTPUTDIR)"
|
||||
git push origin $(GITHUB_PAGES_BRANCH)
|
||||
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue