Skip to content

Commit 519ce1c

Browse files
Merge pull request #72 from makeplane/preview
2 parents 6aff457 + c93a87b commit 519ce1c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

self-hosting/govern/integrations/github.mdx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,13 @@ To configure GitHub integration, you'll need to create a GitHub App within your
120120
- Client secret
121121
- GitHub App name
122122
- Private key
123+
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:
125+
```bash
126+
cat private_key.pem | base64 -w 0
127+
```
123128

124-
7. Add these 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.
125130

126131
```bash
127132
GITHUB_CLIENT_ID=<client_id>

0 commit comments

Comments
 (0)