Skip to content

Commit 2a11a88

Browse files
committed
enable deploys from branches other than master
1 parent 4b34fbd commit 2a11a88

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Diff for: dist/action.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -29053,9 +29053,9 @@ async function run() {
2905329053
const docs_path = core$4.getInput("docs_path");
2905429054
const pkg_path = core$4.getInput("pkg_path");
2905529055

29056-
if (target_branch !== "main" && target_branch !== "master") {
29057-
core$4.setFailed("Branch deploys are not yet supported.");
29058-
}
29056+
// if (target_branch !== "main" && target_branch !== "master") {
29057+
// core.setFailed("Branch deploys are not yet supported.");
29058+
// }
2905929059

2906029060
try {
2906129061
await get_repo(target_repo, target_branch, docs_path, pkg_path);

Diff for: src/action.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ async function run() {
5959
const docs_path = core.getInput("docs_path");
6060
const pkg_path = core.getInput("pkg_path");
6161

62-
if (target_branch !== "main" && target_branch !== "master") {
63-
core.setFailed("Branch deploys are not yet supported.");
64-
}
62+
// if (target_branch !== "main" && target_branch !== "master") {
63+
// core.setFailed("Branch deploys are not yet supported.");
64+
// }
6565

6666
try {
6767
await get_repo(target_repo, target_branch, docs_path, pkg_path);

0 commit comments

Comments
 (0)