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-11-04 12:19:31 -04:00
deprecationMessage : 'Use of this input causes the action to do nothing. You should remove this build step from your workflow.'
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-09-09 17:09:19 -05:00
default : 'false'
2022-09-14 17:14:40 -04:00
conclusion :
2023-02-22 08:37:21 -06:00
deprecationMessage : 'Use of this input does nothing as it was part of the deprecated `emit_telemetry` flow. You should remove this parameter from your workflow.'
2022-09-14 17:14:40 -04:00
description : 'The status of the previous build.'
required : 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
2022-09-09 17:09:19 -05:00
default : '600000'
2021-12-13 23:03:09 -05:00
error_count :
description: 'Maximum number of status report errors before cancelling a deployment (default : 10 )'
required : false
2022-09-09 17:09:19 -05:00
default : '10'
2021-12-13 23:03:09 -05:00
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-09-09 17:09:19 -05:00
default : '5000'
2022-08-04 15:43:58 -07:00
artifact_name :
description : 'Name of the artifact to deploy'
required : false
2022-09-09 17:09:19 -05:00
default : 'github-pages'
2022-09-09 17:08:16 -05:00
preview :
description: 'Is this attempting to deploy a pull request as a GitHub Pages preview site? (NOTE : This feature is only in alpha currently and is not available to the public!)'
required : false
default : 'false'
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'