25 lines
No EOL
663 B
YAML
25 lines
No EOL
663 B
YAML
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: false
|
|
default: "${{ github.GITHUB_REPOSITORY_OWNER }}"
|
|
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 }} |