Skip to content
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

Add sync downstream option #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

luislaugga
Copy link

@luislaugga luislaugga commented Jan 14, 2021

I came across a special case that required me to sync "downstream" from my ASW S3 directory to my local repository (instead of the sync/upload scenario).

I didn't want to break the way it works so I added a new "AWS_DOWNSTREAM" environment variable. If it's set and true then the SOURCE_DIR is reversed with the DEST_DIR. In this case the DEST_DIR is used as source (AWS S3 directory) and the action will sync/download the contents of the AWS S3 directory to specified local directory.

Let me know if you would find this change/addition useful 🙂.

…true' then the specified AWS S3 directory is used as source instead of destination. This makes it possible to sync a remote directory in AWS S3 to be synchronized downstream with a local directory.
@luislaugga luislaugga changed the title Feature/aws downstream Add sync downstream option Jan 18, 2021
@brady-aiello
Copy link

Would very much like a downstream option.

@hrvatskibogmars
Copy link

Would very much like a downstream option also!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants