remove --includes, --excludes and --filters switches. Use --switches instead to include/exclude files and folders interchangeably

This commit is contained in:
Steven Agyekum 2019-11-22 00:28:06 +01:00 committed by GitHub
parent 84e60e763c
commit 44615a7931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,4 +14,4 @@ echo "$DEPLOY_KEY" > "$SSH_PATH/deploy_key"
chmod 600 "$SSH_PATH/deploy_key" chmod 600 "$SSH_PATH/deploy_key"
# Do deployment # Do deployment
sh -c "rsync $INPUT_SWITCHES -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no $INPUT_RSH' $INPUT_INCLUDES $INPUT_EXCLUDES $INPUT_FILTERS $GITHUB_WORKSPACE/$INPUT_PATH $INPUT_UPLOAD_PATH" sh -c "rsync $INPUT_SWITCHES -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no $INPUT_RSH' $GITHUB_WORKSPACE/$INPUT_PATH $INPUT_UPLOAD_PATH"