Skip to content

Commit c93a87b

Browse files
authored
Merge pull request #73 from makeplane/add-reason
Convert Private key to base64
2 parents 47e0d61 + ff7ae94 commit c93a87b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

self-hosting/govern/integrations/github.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ To configure GitHub integration, you'll need to create a GitHub App within your
121121
- GitHub App name
122122
- Private key
123123

124-
7. You’ll need to convert the **Private key** to `base64` before adding it as an environment variable. You can do this using the following command:
124+
7. Before adding the Private key as an environment variable, you’ll need to convert it to base64. Since private keys are typically multi-line, they can cause parsing errors or issues when setting environment variables. To avoid this, run the following command to convert the key to base64:
125125
```bash
126126
cat private_key.pem | base64 -w 0
127127
```
128128

129-
8. Add the environment variables with the values to your Plane instance's `.env` file.
129+
8. Add these environment variables with the values to your Plane instance's `.env` file.
130130

131131
```bash
132132
GITHUB_CLIENT_ID=<client_id>

0 commit comments

Comments
 (0)