From 016e24df53888dc18d398536c999707aa1864e13 Mon Sep 17 00:00:00 2001 From: Contention Date: Fri, 24 Mar 2023 18:43:11 +0000 Subject: [PATCH] Create action.yml --- action.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..38a9e9a --- /dev/null +++ b/action.yml @@ -0,0 +1,28 @@ +name: 'rsync deployments' +description: 'Quick and simple method of deploying code to a webserver via rsync over ssh' +author: 'Contention' +inputs: + flags: + description: 'Initial/required rsync flags' + required: true + excludes: + description: 'Exclude flags and directory pairs' + required: true + user: + description: 'The server user' + required: true + host: + description: 'The deployment target' + required: true + localpath: + description: 'The local path to sync' + required: true + remotepath: + description: 'The remote path to sync' + required: true +runs: + using: 'docker' + image: 'Dockerfile' +branding: + icon: 'truck' + color: 'yellow'