-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add push to another repository workflow #7
base: main
Are you sure you want to change the base?
Conversation
I need to check the typos :D |
|
||
## The problem | ||
Sometimes we need push code from `Repository A` | ||
action to `Repository B` codebase, for eg. when we are implementing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action to `Repository B` codebase, for eg. when we are implementing | |
action to the `Repository B` codebase, for e.g., when we are implementing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be e.g.
or for example
, "for" is already included in e.g. :D
## The problem | ||
Sometimes we need push code from `Repository A` | ||
action to `Repository B` codebase, for eg. when we are implementing | ||
GitOps(for the deployment repo) or when we need separate repo for build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitOps(for the deployment repo) or when we need separate repo for build | |
GitOps(for the deployment repo) or when we need separate repo for the build |
Sometimes we need push code from `Repository A` | ||
action to `Repository B` codebase, for eg. when we are implementing | ||
GitOps(for the deployment repo) or when we need separate repo for build | ||
process for eg. with Design Tokens. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
process for eg. with Design Tokens. | |
process for e.g. with Design Tokens. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here "e.g. / for example"
4) Go to source repo(`Repository A`). | ||
5) Go to `Settings` > `Secrets` > `Actions`. | ||
6) Click `New repository secret`. | ||
7) Add name for eg. `DEPLOY_SSH_KEY` - remember it must match variable name used in workflow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7) Add name for eg. `DEPLOY_SSH_KEY` - remember it must match variable name used in workflow. | |
7) Add a name for e.g. `DEPLOY_SSH_KEY` - remember it must match the variable name used in the workflow. |
# Push to another repository | ||
|
||
## The problem | ||
Sometimes we need push code from `Repository A` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sometimes we need push code from `Repository A` | |
Sometimes we need to push the code from `Repository A` |
process for eg. with Design Tokens. | ||
|
||
## Solution | ||
We can leverage GitHub deploy keys(https://docs.github.com/en/developers/overview/managing-deploy-keys), heres how: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can leverage GitHub deploy keys(https://docs.github.com/en/developers/overview/managing-deploy-keys), heres how: | |
We can leverage GitHub deploy keys ([managing deploy keys](https://docs.github.com/en/developers/overview/managing-deploy-keys)), here is how: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge after comments
No description provided.