Add basic GitHub Action

This commit is contained in:
2023-12-20 10:44:38 +01:00
commit 05e907702c
4 changed files with 72 additions and 0 deletions

17
action.yml Normal file
View File

@@ -0,0 +1,17 @@
name: Deploy to server with rsync
description: An action to build and deploy to a server with rsync over SSH
branding:
icon: upload-cloud
color: blue
inputs:
rsync-arguments:
description: Rsync arguments
required: false
default: --archive --compress --delete --verbose
runs:
using: docker
image: Dockerfile
args:
- ${{ inputs.rsync-arguments }}