mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 16:16:16 +00:00
Misc tweaks
This commit is contained in:
@@ -46,8 +46,8 @@ class Deployment {
|
|||||||
this.startTime = null
|
this.startTime = null
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ask the runtime for and artifact id and deploy to GitHub Pages
|
// Call GitHub api to fetch artifacts matching the provided name and deploy to GitHub Pages
|
||||||
// by creating a deployment with that artifact
|
// by creating a deployment with that artifact id
|
||||||
async create(idToken) {
|
async create(idToken) {
|
||||||
if (Number(core.getInput('timeout')) > MAX_TIMEOUT) {
|
if (Number(core.getInput('timeout')) > MAX_TIMEOUT) {
|
||||||
core.warning(
|
core.warning(
|
||||||
@@ -93,6 +93,7 @@ class Deployment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
core.info(`Created deployment for ${this.buildVersion}, ID: ${this.deploymentInfo?.id}`)
|
core.info(`Created deployment for ${this.buildVersion}, ID: ${this.deploymentInfo?.id}`)
|
||||||
|
|
||||||
core.debug(JSON.stringify(deployment))
|
core.debug(JSON.stringify(deployment))
|
||||||
|
|
||||||
return deployment
|
return deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user