added INPUT_INCLUDES and INPUT_FILTERS args

This commit is contained in:
Steven Agyekum 2019-11-12 23:37:25 +01:00 committed by GitHub
parent e07b616b2e
commit afc3d5d8d4
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_EXCLUDES $GITHUB_WORKSPACE/$INPUT_PATH $INPUT_UPLOAD_PATH" 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"