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
|
||||
|
||||
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
|
||||
|
||||
single-commit:
|
||||
|
@ -317,13 +317,13 @@ export async function deploy(action: ActionInterface): Promise<Status> {
|
||||
info(`Changes committed to the ${action.branch} branch… 📦`)
|
||||
|
||||
if (action.tag) {
|
||||
info(`Adding tag '${action.tag}' to the commit`)
|
||||
info(`Adding '${action.tag}' tag to the commit…`)
|
||||
await execute(
|
||||
`git tag ${action.tag}`,
|
||||
`${action.workspace}/${temporaryDeploymentDirectory}`,
|
||||
action.silent
|
||||
)
|
||||
info(`Pushing tag '${action.tag}' to repository.`)
|
||||
info(`Pushing '${action.tag}' tag to repository…`)
|
||||
await execute(
|
||||
`git push origin ${action.tag}`,
|
||||
`${action.workspace}/${temporaryDeploymentDirectory}`,
|
||||
|
Loading…
Reference in New Issue
Block a user