Skip to content

Commit

Permalink
Add GitHub Actions docs and remove GET Infisical public key route
Browse files Browse the repository at this point in the history
  • Loading branch information
dangtony98 committed Dec 22, 2022
1 parent 509a92a commit ed2558a
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 4 deletions.
2 changes: 0 additions & 2 deletions backend/src/routes/key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,4 @@ router.get(
keyController.getLatestKey
);

router.get('/publicKey/infisical', keyController.getPublicKeyInfisical);

export default router;
Binary file added docs/images/integrations-github-auth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/integrations-github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/integrations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions docs/integrations/cicd/githubactions.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "GitHub Actions"
---

Prerequisites:

- Set up and add envars to [Infisical Cloud](https://app.infisical.com)

## Navigate to your project's integrations tab

![integrations](../../images/integrations.png)

## Authorize Infisical for GitHub

Press on the GitHub tile and grant Infisical access to your GitHub account (repo privileges only).

![integrations github authorization](../../images/integrations-github-auth.png)

<Info>
If this is your project's first cloud integration, then you'll have to grant Infisical access to your project's environment variables.
Although this step breaks E2EE, it's necessary for Infisical to sync the environment variables to the cloud platform.
</Info>

## Start integration

Select which Infisical environment secrets you want to sync to which GitHub repo and press start integration to start syncing secrets to the repo.

![integrations github](../../images/integrations-github.png)

3 changes: 2 additions & 1 deletion docs/integrations/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Missing an integration? Throw in a [request](https://github.com/Infisical/infisi
| [Kubernetes](/integrations/platforms/kubernetes) | Platform | Available |
| [Heroku](/integrations/cloud/heroku) | Cloud | Available |
| [Vercel](/integrations/cloud/vercel) | Cloud | Available |
| [Netlify](/integrations/cloud/netlify) | Cloud | Available |
| [Netlify](/integrations/cloud/netlify) | Cloud | Available |
| [GitHub Actions](/integrations/cicd/githubactions) | CI/CD | Available |
| [React](/integrations/frameworks/react) | Framework | Available |
| [Vue](/integrations/frameworks/vue) | Framework | Available |
| [Express](/integrations/frameworks/express) | Framework | Available |
Expand Down
5 changes: 4 additions & 1 deletion docs/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@
},
{
"group": "CI/CD",
"pages": ["integrations/cicd/circleci"]
"pages": [
"integrations/cicd/githubactions",
"integrations/cicd/circleci"
]
},
{
"group": "Frameworks",
Expand Down

0 comments on commit ed2558a

Please sign in to comment.