48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
|
|
name: Deploy to PageUp
|
||
|
|
description: Deploys a website with PageUp
|
||
|
|
author: NoName Software
|
||
|
|
|
||
|
|
runs:
|
||
|
|
using: node24
|
||
|
|
main: dist/index.js
|
||
|
|
|
||
|
|
inputs:
|
||
|
|
timeout:
|
||
|
|
description:
|
||
|
|
'Time in milliseconds after which to timeout and cancel the deployment
|
||
|
|
(default: 10 minutes)'
|
||
|
|
required: false
|
||
|
|
default: '600000'
|
||
|
|
error_count:
|
||
|
|
description:
|
||
|
|
'Maximum number of status report errors before cancelling a deployment
|
||
|
|
(default: 10)'
|
||
|
|
required: false
|
||
|
|
default: '10'
|
||
|
|
reporting_interval:
|
||
|
|
description:
|
||
|
|
'Time in milliseconds between two deployment status report (default: 5
|
||
|
|
seconds)'
|
||
|
|
required: false
|
||
|
|
default: '5000'
|
||
|
|
build_folder:
|
||
|
|
description: 'Name of a folder with '
|
||
|
|
required: true
|
||
|
|
default: 'dist'
|
||
|
|
subdomain:
|
||
|
|
description:
|
||
|
|
'What subdomain to use for deployments (<subdomain>.nnsoft.xyz) (default:
|
||
|
|
repository name)'
|
||
|
|
required: false
|
||
|
|
default: '${{ github.event.repository.name }}'
|
||
|
|
branch:
|
||
|
|
description:
|
||
|
|
'What branch to deploy to (<branch>.<subdomain>.nnsoft.xyz) (default:
|
||
|
|
empty string for no branch)'
|
||
|
|
required: false
|
||
|
|
default: ''
|
||
|
|
|
||
|
|
outputs:
|
||
|
|
page_url:
|
||
|
|
description: 'URL to deployed PageUp'
|