mirror of
https://github.com/awesome-selfhosted/awesome-selfhosted-data.git
synced 2026-03-11 08:55:24 +00:00
tools: switch deployment targets to awesome-selfhosted/awesome-selfhosted(-html) (#63)
- fixes https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/4
This commit is contained in:
parent
a75baabff5
commit
f40a4842ba
3 changed files with 8 additions and 8 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -14,8 +14,8 @@ concurrency:
|
|||
# Generate deploy keys locally:
|
||||
# $ ssh-keygen -t rsa -f awesome-selfhosted-deploy-key -C awesome-selfhosted-deploy-key
|
||||
# $ ssh-keygen -t rsa -f awesome-selfhosted-html-deploy-key -C awesome-selfhosted-html-deploy-key
|
||||
# Paste the contents of awesome-selfhosted-deploy-key.pub to https://github.com/nodiscc/awesome-selfhosted/settings/keys/new, name: awesome-selfhosted-deploy-key, allow write access
|
||||
# Paste the contents of awesome-selfhosted-html-deploy-key.pub to https://github.com/nodiscc/awesome-selfhosted-html-preview/settings/keys/new, name: awesome-selfhosted-html-deploy-key
|
||||
# Paste the contents of awesome-selfhosted-deploy-key.pub to https://github.com/awesome-selfhosted/awesome-selfhosted/settings/keys/new, name: awesome-selfhosted-deploy-key, allow write access
|
||||
# Paste the contents of awesome-selfhosted-html-deploy-key.pub to https://github.com/awesome-selfhosted/awesome-selfhosted-html/settings/keys/new, name: awesome-selfhosted-html-deploy-key
|
||||
# Access https://github.com/awesome-selfhosted/awesome-selfhosted-data/settings/environments, create new environment with name: production
|
||||
# - deployment branches: selected branches
|
||||
# - add deployment branch rule: branch name pattern: master
|
||||
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
build-markdown:
|
||||
environment:
|
||||
name: production
|
||||
url: https://github.com/nodiscc/awesome-selfhosted
|
||||
url: https://github.com/awesome-selfhosted/awesome-selfhosted
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
build-html:
|
||||
environment:
|
||||
name: production
|
||||
url: https://github.com/nodiscc/awesome-selfhosted-html-preview
|
||||
url: https://github.com/awesome-selfhosted/awesome-selfhosted-html
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ import import data from original list at https://github.com/awesome
|
|||
update_metadata update metadata from project repositories/API
|
||||
awesome_lint check data against awesome-selfhosted guidelines
|
||||
export_markdown render markdown export from YAML data (https://github.com/awesome-selfhosted/awesome-selfhosted)
|
||||
export_html render HTML export from YAML data (https://nodiscc.github.io/awesome-selfhosted-html-preview/)
|
||||
export_html render HTML export from YAML data (https://awesome-selfhosted.net)
|
||||
push_markdown commit and push changes to the markdown repository
|
||||
push_html commit and push changes to the HTML site repository (amend previous commit and force-push)
|
||||
url_check check URLs for dead links or other connection problems
|
||||
|
|
|
|||
6
Makefile
6
Makefile
|
|
@ -1,7 +1,7 @@
|
|||
# requirements: git bash make python3-pip python3-venv
|
||||
SHELL := /bin/bash
|
||||
MARKDOWN_REPOSITORY = nodiscc/awesome-selfhosted
|
||||
HTML_REPOSITORY = nodiscc/awesome-selfhosted-html-preview
|
||||
MARKDOWN_REPOSITORY = awesome-selfhosted/awesome-selfhosted
|
||||
HTML_REPOSITORY = awesome-selfhosted/awesome-selfhosted-html
|
||||
|
||||
.PHONY: install # install build tools in a virtualenv
|
||||
install:
|
||||
|
|
@ -42,7 +42,7 @@ export_markdown:
|
|||
source .venv/bin/activate && hecat --config .hecat/export-markdown.yml
|
||||
cd awesome-selfhosted && git diff --color=always
|
||||
|
||||
.PHONY: export_html # render HTML export from YAML data (https://nodiscc.github.io/awesome-selfhosted-html-preview/)
|
||||
.PHONY: export_html # render HTML export from YAML data (https://awesome-selfhosted.net/)
|
||||
export_html:
|
||||
rm -rf awesome-selfhosted-html-preview/ html/
|
||||
git clone https://github.com/$(HTML_REPOSITORY)
|
||||
|
|
|
|||
Loading…
Reference in a new issue