First development of the deploy action (#6)
Some checks failed
Lint / pre-commit Linting (push) Has been cancelled
Some checks failed
Lint / pre-commit Linting (push) Has been cancelled
Deploy js code to an instance of screeps. Some debugging tools are implemented. Reviewed-on: #6 Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit is contained in:
42
action.yaml
Normal file
42
action.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
name: Upload to Screeps
|
||||
description: This action uploads code to the Screeps server.
|
||||
inputs:
|
||||
protocol:
|
||||
description: 'The protocol to use (default: https).'
|
||||
required: false
|
||||
default: https
|
||||
hostname:
|
||||
description: 'The hostname of the Screeps server (default: screeps.com).'
|
||||
required: false
|
||||
default: screeps.com
|
||||
port:
|
||||
description: 'The port to use (default: 443).'
|
||||
required: false
|
||||
default: '443'
|
||||
path:
|
||||
description: The path for the API.
|
||||
required: false
|
||||
default: /
|
||||
token:
|
||||
description: Authentication token for Screeps.
|
||||
required: true
|
||||
username:
|
||||
description: Username for Screeps account. Used if no token is provided.
|
||||
required: false
|
||||
password:
|
||||
description: Password for Screeps account. Used if no token is provided.
|
||||
required: false
|
||||
prefix:
|
||||
description: Directory prefix for file paths.
|
||||
required: false
|
||||
pattern:
|
||||
description: 'Glob pattern to match files (default: *.js).'
|
||||
required: false
|
||||
default: '*.js'
|
||||
branch:
|
||||
description: 'Branch in Screeps to which the code will be uploaded (default: default).'
|
||||
required: false
|
||||
default: default
|
||||
runs:
|
||||
using: node12
|
||||
main: index.js
|
Reference in New Issue
Block a user