mirror of
https://github.com/BreizhHardware/awesome-selfhosted-data.git
synced 2026-01-18 16:17:30 +01:00
- build markdown/HTML versions, use separate makefile targets/hecat configuration files for each export format/push task - add non-free.md generation step to markdown export hecat configuration file - add makefile targets to push exports to https://github.com/awesome-selfhosted/awesome-selfhosted and https://github.com/nodiscc/awesome-selfhosted-html-preview - install: install sphinx <7 directly using pip since it can't be installed from setup.py https://github.com/sphinx-doc/sphinx/issues/11130 - pin sphinx to version <7, sphinx-design is not compatible with sphinx 7 https://github.com/executablebooks/sphinx-design/issues/130 - add sphinx configuration file - tools/makefile: monkeypatch furo theme to display build tools and license link in footer (furo/sphinx does not provide a way to customize this https://github.com/pradyunsg/furo/discussions/612) - fix dependencies between makefile targets - setup/document SSH deploy keys usage - each repository requires a different deploy key, trying to add a deploy key to repo B, which has already been added to repo A results in error 'this key already exists' - set git remote URL to use ssh URIs before push (required to use SSH deploy keys) - when referencing an environment secret, environment: key must be defined explicitly for the step (https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#referencing-an-environment) - use a single SSH key file/no ssh-agent, else git push will try to use the first registered key and fail with permission denied when trying to push to the HTML repository - use variables to identify target repos - use temporary repositories as push destination
47 lines
1.3 KiB
YAML
47 lines
1.3 KiB
YAML
steps:
|
|
- name: export YAML data to single-page markdown
|
|
module: exporters/markdown_singlepage
|
|
module_options:
|
|
source_directory: ./
|
|
output_directory: awesome-selfhosted
|
|
output_file: README.md
|
|
markdown_header: markdown/header.md
|
|
markdown_footer: markdown/footer.md
|
|
back_to_top_url: '#awesome-selfhosted'
|
|
exclude_licenses:
|
|
- '⊘ Proprietary'
|
|
- 'BUSL-1.1'
|
|
- 'CC-BY-NC-4.0'
|
|
- 'CC-BY-NC-SA-3.0'
|
|
- 'CC-BY-ND-3.0'
|
|
- 'Commons-Clause'
|
|
- 'DPL'
|
|
- 'SSPL-1.0'
|
|
- 'DPL'
|
|
- 'Elastic-1.0'
|
|
- 'Elastic-2.0'
|
|
|
|
- name: export YAML data to single-page markdown (non-free)
|
|
module: exporters/markdown_singlepage
|
|
module_options:
|
|
source_directory: ./
|
|
output_directory: awesome-selfhosted
|
|
output_file: non-free.md
|
|
markdown_header: markdown/non-free-header.md
|
|
licenses_file: licenses-nonfree.yml
|
|
back_to_top_url: '##awesome-selfhosted---non-free-software'
|
|
render_empty_categories: False
|
|
render_category_headers: False
|
|
include_licenses:
|
|
- '⊘ Proprietary'
|
|
- 'BUSL-1.1'
|
|
- 'CC-BY-NC-4.0'
|
|
- 'CC-BY-NC-SA-3.0'
|
|
- 'CC-BY-ND-3.0'
|
|
- 'Commons-Clause'
|
|
- 'DPL'
|
|
- 'SSPL-1.0'
|
|
- 'DPL'
|
|
- 'Elastic-1.0'
|
|
- 'Elastic-2.0'
|