mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
chore: Fix spelling
This commit is contained in:
parent
2991688e3f
commit
f08f40f621
@ -83,7 +83,7 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
|
|
||||||
tag:
|
tag:
|
||||||
description: "Add a tag to the commit. Only works when 'dry-run' is not used."
|
description: "Add a tag to the commit, this can be used like so: 'v0.1'. Only works when 'dry-run' is not used."
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
single-commit:
|
single-commit:
|
||||||
|
@ -317,13 +317,13 @@ export async function deploy(action: ActionInterface): Promise<Status> {
|
|||||||
info(`Changes committed to the ${action.branch} branch… 📦`)
|
info(`Changes committed to the ${action.branch} branch… 📦`)
|
||||||
|
|
||||||
if (action.tag) {
|
if (action.tag) {
|
||||||
info(`Adding tag '${action.tag}' to the commit`)
|
info(`Adding '${action.tag}' tag to the commit…`)
|
||||||
await execute(
|
await execute(
|
||||||
`git tag ${action.tag}`,
|
`git tag ${action.tag}`,
|
||||||
`${action.workspace}/${temporaryDeploymentDirectory}`,
|
`${action.workspace}/${temporaryDeploymentDirectory}`,
|
||||||
action.silent
|
action.silent
|
||||||
)
|
)
|
||||||
info(`Pushing tag '${action.tag}' to repository.`)
|
info(`Pushing '${action.tag}' tag to repository…`)
|
||||||
await execute(
|
await execute(
|
||||||
`git push origin ${action.tag}`,
|
`git push origin ${action.tag}`,
|
||||||
`${action.workspace}/${temporaryDeploymentDirectory}`,
|
`${action.workspace}/${temporaryDeploymentDirectory}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user