Add basic GitHub Action
This commit is contained in:
17
action.yml
Normal file
17
action.yml
Normal 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 }}
|
||||
Reference in New Issue
Block a user