mirror of
https://github.com/actions/deploy-pages.git
synced 2026-03-30 01:54:52 +00:00
report api url
This commit is contained in:
1
dist/index.js
vendored
1
dist/index.js
vendored
@@ -6994,6 +6994,7 @@ class Deployment {
|
|||||||
payload.preview = true
|
payload.preview = true
|
||||||
}
|
}
|
||||||
core.info(`Creating deployment with payload:\n${JSON.stringify(payload, null, '\t')}`)
|
core.info(`Creating deployment with payload:\n${JSON.stringify(payload, null, '\t')}`)
|
||||||
|
core.info(`Sending payload to: ${pagesDeployEndpoint}`)
|
||||||
const response = await axios.post(pagesDeployEndpoint, payload, {
|
const response = await axios.post(pagesDeployEndpoint, payload, {
|
||||||
headers: {
|
headers: {
|
||||||
Accept: 'application/vnd.github.v3+json',
|
Accept: 'application/vnd.github.v3+json',
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -61,6 +61,7 @@ class Deployment {
|
|||||||
payload.preview = true
|
payload.preview = true
|
||||||
}
|
}
|
||||||
core.info(`Creating deployment with payload:\n${JSON.stringify(payload, null, '\t')}`)
|
core.info(`Creating deployment with payload:\n${JSON.stringify(payload, null, '\t')}`)
|
||||||
|
core.info(`Sending payload to: ${pagesDeployEndpoint}`)
|
||||||
const response = await axios.post(pagesDeployEndpoint, payload, {
|
const response = await axios.post(pagesDeployEndpoint, payload, {
|
||||||
headers: {
|
headers: {
|
||||||
Accept: 'application/vnd.github.v3+json',
|
Accept: 'application/vnd.github.v3+json',
|
||||||
|
|||||||
Reference in New Issue
Block a user