https://github.com/tiny-c-compiler/github-actions-mirror-repository
🔩 Downloads source code and places it into 🔄 mirror-repository
https://github.com/tiny-c-compiler/github-actions-mirror-repository
Last synced: 3 months ago
JSON representation
🔩 Downloads source code and places it into 🔄 mirror-repository
- Host: GitHub
- URL: https://github.com/tiny-c-compiler/github-actions-mirror-repository
- Owner: Tiny-C-Compiler
- License: cc0-1.0
- Created: 2022-09-23T10:15:49.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-27T07:42:33.000Z (4 months ago)
- Last Synced: 2025-02-27T10:35:07.239Z (4 months ago)
- Homepage:
- Size: 4.6 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mirror-repositry-github-actions
The source code is Mirrored from https://repo.or.cz/w/tinycc.gitGuide on using SSH keys to setup Mirroring.
1. Generate SSH Key using any tool.
* Recommended: to download and use ssh-keygen tool.
* Can be done online.
https://8gwifi.org/sshfunctions.jsp
Caution: online website can steal your generated SSH key,

2. Place the generated Public Key into Repository to access it.
3. Insert Private Key as Actions Repository Secret in the script running repository, so it would use it and gain access.### Visual tutorial for Actions repository to gain access to mirror-repository
As mentioned you use any SSH key generator. (Example: https://8gwifi.org/sshfunctions.jsp)
And you do this, remember to trigger workflow, it should all work.

### Cross-compilation test
It seems that Personal Access Token (PAT) with `repo` permission scope, might be required to make releases on mirror-repository.
https://github.com/organizations/Tiny-C-Compiler/settings/personal-access-tokens-onboarding### Previous attempts and versions
Previously there were tests with using a single repository and GitHub actions reside in branch of repository.
However to keep mirror repository as uncluttered and to its original state a separate GitHub repository was made to handle the mirroring.
https://github.com/Tiny-C-Compiler/mirror-repository/tree/github-actions