actions/deploy_user/action.yml

24 lines
609 B
YAML
Raw Permalink Normal View History

name: 'Deploy to Skynet - User Edition'
description: 'Deploy to your own public_html '
inputs:
ssh_key:
description: 'Pass in secrets.SSH_KEY'
required: true
username:
description: 'Pass in your skynet username'
required: true
folder:
description: 'Folder to upload, normally build'
required: true
destination:
description: 'location within public_html to deploy to'
required: false
default: ""
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.username }}
- ${{ inputs.ssh_key }}
- ${{ inputs.folder }}
- ${{ github.destination }}