-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add env and readme for deploy key setup
- Loading branch information
1 parent
9219756
commit db1ddb2
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FRONTEND_URL=http://localhost:8080 | ||
API_URL=http://localhost:8080/api | ||
|
||
DOCS_URL=https://docs.sanchogov.tools | ||
|
||
# 1 for testnet, 0 for mainnet | ||
NETWORK_ID=1, | ||
|
||
# Create mock wallets if true | ||
ONE_TIME_WALLET_SETUP=false, | ||
|
||
# Faucet | ||
FAUCET_API_URL=https://faucet.sanchonet.world.dev.cardano.org | ||
FAUCET_API_KEY= | ||
|
||
# Kuber | ||
KUBER_API_URL=https://sanchonet.kuber.cardanoapi.io | ||
KUBER_API_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# GitHub Pages Deployment SSH Deploy Key Generation Guide | ||
|
||
This guide walks you through the process of generating an SSH deploy key for GitHub Pages deployment and securely integrating it into your workflow. | ||
|
||
## Generating the SSH Deploy Key | ||
|
||
Execute the following command in your terminal to generate the SSH deploy key: | ||
|
||
```bash | ||
ssh-keygen -t rsa -b 4096 -C "$(git config user.email)" -f gh-pages -N "" | ||
``` | ||
|
||
This command will generate two files: | ||
|
||
- `gh-pages.pub`: Public key | ||
- `gh-pages`: Private key | ||
|
||
## Integration Steps | ||
|
||
1. **Repository Settings:** | ||
|
||
- Navigate to your repository settings. | ||
|
||
2. **Adding Public Key to Deploy Keys: Add to** [`https://github.com/cardanoapi/govtool-test-reports`](https://github.com/cardanoapi/govtool-test-reports) | ||
|
||
- Go to Deploy Keys and add your public key. Make sure to grant it write access. | ||
|
||
3. **Adding Private Key to Secrets:** | ||
- Go to Secrets and add your private key as `DEPLOY_KEY`. |