8 Commits

Author SHA1 Message Date
kokomo123
2986dcc22c github actions: update checkout actions to v4 (#870) 2024-09-24 23:03:17 +00:00
nodiscc
d157f626ce tools: makefile/github actions: don't call make install target multiple times
- make install must only run manually when the build environment has not been set up yet
2023-07-24 20:36:24 +02:00
nodiscc
6ea9e4507f finalize automation/CI workflows:
- 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
2023-07-24 16:10:43 +02:00
nodiscc
423b418371 tools/github actions: fix concurrency between workflows
- only jobs that are part of the same workflow should not run concurrently
2023-07-22 19:13:03 +02:00
nodiscc
696063534a tools: github actions: job IDs may only contain alphanumeric characters, '_', and '-'. 2023-07-22 19:06:02 +02:00
nodiscc
05ad5ea709 tools/github actions: set job names 2023-07-22 11:34:55 +02:00
nodiscc
986e2dde55 tools/github actions: set workflow names
- https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#name
2023-07-22 11:33:03 +02:00
nodiscc
083b9f0605 tools/github actions: separate workflows for pull requests and build from each commit on master 2023-07-22 11:26:01 +02:00