Add a wiki/ folder with a .publish marker for the shared Publish wiki workflow, a Quality workflow (shellcheck and shfmt through the shared reusable workflow) and a manual Release workflow that builds the release page from CHANGELOG.md. Set switch_case_indent for *.sh in .editorconfig so shfmt accepts the existing case layout.
1.3 KiB
1.3 KiB
SSH and tokens
SSH access to Gitea
The framework submodule is fetched over SSH on port 10022. Before you run the script:
-
Add your SSH public key to your Gitea account.
-
Connect once by hand so the server's host key is known (the script refuses unknown host keys):
ssh -p 10022 -T git@git.tirsystem.comA message that you have successfully authenticated, without shell access, means it works.
Passphrase keys. The script never prompts for a passphrase. A key with a passphrase must already be loaded in
ssh-agent(ssh-add). This is tracked in issue 77.
Tokens
| Token | Key in .env |
Needed | Type |
|---|---|---|---|
| Gitea access token | GITEA_TOKEN |
always | access token with scopes |
| GitHub personal access token | GITHUB_PAT |
only when you choose GitHub | classic personal access token |
Step by step with pictures: how to create the access tokens. The exact permissions are under Token permissions in the README.