2022-08-10 12:59:11 -05:00
|
|
|
name: 'Deploy GitHub Pages site'
|
|
|
|
|
description: 'A GitHub Action to deploy an artifact as a GitHub Pages site'
|
2022-08-09 22:15:35 -05:00
|
|
|
author: 'GitHub'
|
2021-12-13 23:03:09 -05:00
|
|
|
runs:
|
|
|
|
|
using: 'node16'
|
|
|
|
|
main: 'dist/index.js'
|
|
|
|
|
inputs:
|
2022-03-23 14:40:57 -04:00
|
|
|
emit_telemetry:
|
2022-03-31 11:47:49 -04:00
|
|
|
description: 'Should this action only emit build telemetry instead of deploying the build artifact?'
|
2022-03-23 14:40:57 -04:00
|
|
|
required: false
|
2022-04-04 16:12:33 -04:00
|
|
|
default: "false"
|
2021-12-13 23:03:09 -05:00
|
|
|
token:
|
|
|
|
|
description: 'GitHub token'
|
|
|
|
|
default: ${{ github.token }}
|
|
|
|
|
required: true
|
|
|
|
|
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:
|
2022-04-11 14:29:33 -04:00
|
|
|
description: 'Time in milliseconds between two deployment status report (default: 5 seconds)'
|
2021-12-13 23:03:09 -05:00
|
|
|
required: false
|
2022-03-28 12:28:46 -07:00
|
|
|
default: "5000"
|
2022-08-04 15:43:58 -07:00
|
|
|
artifact_name:
|
|
|
|
|
description: 'Name of the artifact to deploy'
|
|
|
|
|
required: false
|
|
|
|
|
default: "github-pages"
|
2021-12-22 10:56:47 -08:00
|
|
|
outputs:
|
|
|
|
|
page_url:
|
2022-04-11 14:30:09 -04:00
|
|
|
description: 'URL to deployed GitHub Pages'
|