Issue with syncing S3 and github repo using github actions #665
-
I have a github action .yml that syncs my github repo with a s3 bucket
In the above action, I manage to upload the files in my Github folder photo-art/text to my S3 bucket. However this is not what I want. I wanted to download files from s3 to my folder in github as well (that is how sync works right?) , so I tried switching around instead:
This seem to have downloaded all my files into photo-art/text as indicated in the github actions history but the files are not there when i check the folder itself. Questions
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If I may make an assumption, you are referring to your repository after the workflow has completed, is this correct? The runner that runs this action should indeed be successfully syncing the files. I believe the issue here is that you are expecting the actual repository to be updated, when instead you are doing the equivalent of cloning your repo, making changes, and then not committing and pushing the changes to your repo. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
If I may make an assumption, you are referring to your repository after the workflow has completed, is this correct?
The runner that runs this action should indeed be successfully syncing the files. I believe the issue here is that you are expecting the actual repository to be updated, when instead you are doing the equivalent of cloning your repo, making changes, and then not committing and pushing the changes to your repo.