From f40a4842bad416479838db59b2e47f048b184a96 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Tue, 22 Aug 2023 13:12:34 +0000 Subject: [PATCH] tools: switch deployment targets to awesome-selfhosted/awesome-selfhosted(-html) (#63) - fixes https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/4 --- .github/workflows/build.yml | 8 ++++---- CONTRIBUTING.md | 2 +- Makefile | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c6ed283c5a..0cb04ff2e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3110d5e28c..8b9ead5805 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 diff --git a/Makefile b/Makefile index bb4f9d4fd2..d0482fbe16 100644 --- a/Makefile +++ b/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)