Misc tweaks

This commit is contained in:
Konrad Pabjan
2023-10-30 15:04:12 -04:00
parent fa898e325d
commit b15b65d3e5

View File

@@ -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