mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted-data.git
synced 2026-03-11 08:55:24 +00:00
tools: makefile: push_markdown/html: include the hash of the source commit in the commit message
- edit a random description so we have something to commit to the markdown repository
This commit is contained in:
parent
fe5a61c559
commit
69b76a3961
2 changed files with 5 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -48,17 +48,19 @@ export_html:
|
|||
|
||||
.PHONY: push_markdown # commit and push changes to the markdown repository
|
||||
push_markdown:
|
||||
$(eval COMMIT_HASH=$(shell git rev-parse --short HEAD))
|
||||
cd awesome-selfhosted && git remote set-url origin git@github.com:$(MARKDOWN_REPOSITORY)
|
||||
cd awesome-selfhosted && git config user.name awesome-selfhosted-bot && git config user.email github-actions@github.com
|
||||
cd awesome-selfhosted && git add . && (git diff-index --quiet HEAD || git commit -m "[bot] build markdown repository")
|
||||
cd awesome-selfhosted && git add . && (git diff-index --quiet HEAD || git commit -m "[bot] build markdown from awesome-selfhosted-data $(COMMIT_HASH)")
|
||||
cd awesome-selfhosted && git push -f
|
||||
|
||||
.PHONY: push_html # commit and push changes to the HTML site repository (amend previous commit and force-push)
|
||||
push_html:
|
||||
$(eval COMMIT_HASH=$(shell git rev-parse --short HEAD))
|
||||
mv html/html/* awesome-selfhosted-html-preview/
|
||||
cd awesome-selfhosted-html-preview/ && git remote set-url origin git@github.com:$(HTML_REPOSITORY)
|
||||
cd awesome-selfhosted-html-preview/ && git config user.name awesome-selfhosted-bot && git config user.email github-actions@github.com
|
||||
cd awesome-selfhosted-html-preview/ && git add . && (git diff-index --quiet HEAD || git commit --amend -m "[bot] build HTML site")
|
||||
cd awesome-selfhosted-html-preview/ && git add . && (git diff-index --quiet HEAD || git commit --amend -m "[bot] build HTML from awesome-selfhosted-data $(COMMIT_HASH)")
|
||||
cd awesome-selfhosted-html-preview/ && git push -f
|
||||
|
||||
.PHONY: url_check # check URLs for dead links or other connection problems
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name: Framadate
|
||||
website_url: https://framadate.org/abc/
|
||||
description: 'Online service for planning an appointment or make a decision quickly and easily: Make a poll, Define dates or subjects to choose, Send the poll link to your friends or colleagues, Discuss and make a decision.'
|
||||
description: 'Online service for planning an appointment or make a decision quickly and easily: Make a poll, define dates or subjects to choose, send the poll link to your friends or colleagues, discuss and make a decision.'
|
||||
licenses:
|
||||
- CECILL-B
|
||||
platforms:
|
||||
|
|
|
|||
Loading…
Reference in a new issue