-
Notifications
You must be signed in to change notification settings - Fork 12
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
Sync Folder #251
Comments
You need to also specify the note: please use proper formatting of code, to make reading your issues easier. |
I had tried that. I may be still doing it wrong though. I would like all the files and sub folders from SRC path sync to path on target.
I also tried ^gamemodes/fortwarsremastered/content-compressed/* |
I'm not sure about what the code does anymore and my documentation about Try out the following and let me know if it works.
|
That does not seem to work. |
I have no immediate idea anymore. But I know that the config here works. It's almost the same use-case, but for specific files. Maybe there is a Syntax difference and you could look into it. It would also help debugging, if you could narrow down the problem a bit further.
Currently the issue is just to broadly described to help you any further. |
I'm facing the same problem. I think the - uses: adrianjost/[email protected]
with:
COMMIT_MESSAGE: "Update ${{ github.repository }} to ${{ github.sha }}"
FILE_PATTERNS: |-
^Formula/*.rb$
GIT_EMAIL: ${{ secrets.git_email }}
GIT_USERNAME: ${{ secrets.git_username }}
GITHUB_TOKEN: ${{ secrets.git_pat}}
SRC_ROOT: /tests/ # also tried with ${{ github.workspace }} as the prefix
TARGET_REPOS: ${{ github.repository }}:tests Run adrianjost/[email protected]
Context: {
"COMMIT_MESSAGE": "Update LizardByte/homebrew-release-action to 20c180e8f938ada831c899728ac9a85f258437b4",
"DRY_RUN": false,
"FILE_PATTERNS": [
{}
],
"GITHUB_SERVER": "github.com",
"GITHUB_TOKEN": "<secret>",
"GIT_EMAIL": "***",
"GIT_USERNAME": "***",
"SKIP_CLEANUP": false,
"SKIP_DELETE": false,
"SKIP_REPLACE": false,
"SRC_REPO": "LizardByte/homebrew-release-action",
"SRC_ROOT": "/tests/",
"TARGET_REPOS": [
"LizardByte/homebrew-release-action:tests"
],
"TARGET_ROOT": "/",
"TMPDIR": "tmp-1709838547247"
}
EXEC: "GIT_LFS_SKIP_SMUDGE=1 git clone --depth 1 https://***@github.com/LizardByte/homebrew-release-action.git tmp-1709838547247/LizardByte/homebrew-release-action" IN "./"
OUTPUT STDOUT: none
FILE_PATTERNS [
"/^Formula\\/*.rb$/"
]
MATCHING FILES: []
EXEC: "GIT_LFS_SKIP_SMUDGE=1 git clone --depth 1 -b tests https://***@github.com/LizardByte/homebrew-release-action.git tmp-1709838547247/LizardByte/homebrew-release-action-tests" IN "./"
OUTPUT STDOUT: none
FILE_PATTERNS [
"/^Formula\\/*.rb$/"
]
MATCHING FILES: []
REMOVE FILES []
EXEC: "git status --porcelain" IN "tmp-1709838547247/LizardByte/homebrew-release-action-tests"
OUTPUT STDOUT: none
NO CHANGES DETECTED |
@ReenigneArcher |
Not sure if I am doing correct if is possible but i want just the content from folder from source repo to sync just to folder in target repo.
The text was updated successfully, but these errors were encountered: