We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6901b8e commit 3d65640Copy full SHA for 3d65640
src/set-tokens.ts
@@ -85,7 +85,10 @@ Use deploy_key or personal_token.
85
if (eventName === 'push') {
86
isProhibitedBranch = ref.match(new RegExp(`^refs/heads/${publishBranch}$`)) !== null;
87
if (isProhibitedBranch) {
88
- throw new Error(`You deploy from ${publishBranch} to ${publishBranch}`);
+ throw new Error(`\
89
+You deploy from ${publishBranch} to ${publishBranch}
90
+This operation is prohibited to protect your contents
91
+`);
92
}
93
94
0 commit comments