mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
Update git.js
This commit is contained in:
parent
3d36067f3a
commit
eb26d0d826
@ -27,7 +27,7 @@ function init() {
|
||||
}
|
||||
if (constants_1.action.build.startsWith("/") || constants_1.action.build.startsWith("./")) {
|
||||
core_1.setFailed(`The deployment folder cannot be prefixed with '/' or './'. Instead reference the folder name directly.`);
|
||||
throw Error("Incorrectly formatted build folder.");
|
||||
throw Error("Incorrectly formatted build folder. The deployment folder cannot be prefixed with '/' or './'. Instead reference the folder name directly.");
|
||||
}
|
||||
console.log(`Deploying using ${constants_1.tokenType}... 🔑`);
|
||||
yield execute_1.execute(`git init`, constants_1.workspace);
|
||||
|
Loading…
Reference in New Issue
Block a user