![]() Note: this is a one-way sync, so updates on the target repo won’t affect the source repo (but might get overridden!). Tada □ Everytime I push to my personal repo, the new content of one of the subfolder gets copied to another repo. The things to change are the source_file, destination_repo and destination_folder. Create a new GitHub action workflow such as this one.Go to the settings of the personal website repo (the source from which the content will be copied), to “Secrets”, and add a new secret called “API_TOKEN_GITHUB” (with the key you just copied).You have to generate a token, and tick the repo authorizations. The first step is to go to the settings of your GitHub account, to developers settings, and to personal access tokens.So that I don’t have to manually maintain the content at two separate places. Users who have used Mac OS will immediately notice the similarity between nsync’s interface and traditional Mac applications. ![]() ![]() I would like that every time I post something on my website, that it gets automatically copied over to the company website. What caught my eye instantly about nsync is its similarity to a previously reviewed sync tool for Mac, SyncTwoFolders, which offered similar functionality. Importantly, there is a blog in the company websites with posts, but I have one on my personal website too. Both are fairly similar, as they are built using Wowchemy’s academic theme. I have a personal website, stored in a GitHub repo (and hosted via GitHub pages), as well as a lab website (a “company” website, if you will). How to sync two folders in two separate GitHub repositories The Problem
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |