-
Hi there, You've done some incredible work here and my hat goes off to you! Bravo! I just had a comment about the following line of code in
It looks like this will only work for standard GitHub repositories, but not for those hosted on enterprise servers with custom host names (example: During the
Which will result in a fatal error:
And as far as I can tell, a host parameter currently can't be prepended in the sync.yml file required for the action to run. This is, AFAIK, due to how the host is constructed in the URL in the git.js script. Have you thought about adding another property to the sync.yml file where users could enter the host on which the repository is stored? Just a thought! At any rate, you're doing fantastic work! Best regards, D |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hey 👋 First of all, thanks for your kind words and your feedback!
You are totally correct, the Action currently only works for repositories hosted on github.com. There's no real reason for this other than I haven't thought about enterprise repositories 😄
We could allow an entire URL with the host as the key in the sync.yml file. So instead of this: user/repo:
- path/to/file.txt You could do: https://host/user/repo:
- path/to/file.txt Would this work for you @buhruf? |
Beta Was this translation helpful? Give feedback.
Hey 👋
First of all, thanks for your kind words and your feedback!
You are totally correct, the Action currently only works for repositories hosted on github.com. There's no real reason for this other than I haven't thought about enterprise repositories 😄
We could allow an entire URL with the host as the key in the sync.yml file.
So instead of this:
You c…