Skip to content

Commit

Permalink
docs(tutorials): use both GitHub and Gitea
Browse files Browse the repository at this point in the history
  • Loading branch information
khuedoan committed Mar 24, 2022
1 parent 0fc5998 commit 9c243c6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/SUMMARY.md
Expand Up @@ -11,6 +11,7 @@
- [External resources (optional)](./deployment/external-resources.md)
- [Troubleshooting](./troubleshooting.md)
- [Tutorials]()
- [Use both GitHub and Gitea](./tutorials/use-both-github-and-gitea.md)
- [Single node cluster adjustments](./tutorials/single-node-cluster-adjustments.md)
- [Add or remove nodes (scale up or down)](./tutorials/add-or-remove-nodes.md)
- [Run commands on multiple nodes](./tutorials/run-commands-on-multiple-nodes.md)
Expand Down
12 changes: 12 additions & 0 deletions docs/src/tutorials/use-both-github-and-gitea.md
@@ -0,0 +1,12 @@
# Use both GitHub and Gitea

Even though we self-host Gitea, you may still want to use GitHub as a backup and for discovery.

Add both push URLs (replace my repositories with yours):

```sh
git remote set-url --add --push origin [email protected]:ops/homelab
git remote set-url --add --push origin [email protected]:khuedoan/homelab
```

Now you can just run `git push` like usual and it will push to both GitHub and Gitea.

0 comments on commit 9c243c6

Please sign in to comment.