Skip to content
Snippets Groups Projects
Commit 324df708 authored by Nicholas Nakano's avatar Nicholas Nakano
Browse files

Added git-hooks to repo, integrating automation components.

parent 58ad2686
No related branches found
No related tags found
No related merge requests found
......@@ -117,6 +117,10 @@ if [ $? -ne 0 ]; then
exit 1
fi
echo "Updating local git-hooks..."
cp -R git-hooks/* .git/hooks/
echo "All files pulled from S3 successfully. Operation complete."
exit 0
#!/bin/sh
# Written by Nicholas Nakano
echo "Starting RClone copy from S3 Bucket..."
# Pull Copy: Reads remote and updates local without deleting files
rclone copy -P nautilus-s3:ARNOB . --include-from rclone-include.txt --no-traverse
if [ $? -ne 0 ]; then
echo "RClone copy failed."
exit 1
fi
echo "RClone copy complete."
exit 0
\ No newline at end of file
#!/bin/sh
# Written by Nicholas Nakano
echo "Starting RClone copy to S3 Bucket..."
# Push Copy: Reads local and updates remote.
rclone copy -P . nautilus-s3:ARNOB --include-from rclone-include.txt --no-traverse
if [ $? -ne 0 ]; then
echo "RClone copy failed."
exit 1
fi
echo "RClone copy complete."
exit 0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment