Skip to content

Commit

Permalink
Variable has been renamed to createGhPagesBranchRemote
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv committed May 28, 2024
1 parent 51b13ab commit d9bb9aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/publish/gh-pages/gh-pages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ async function publish(
/^https:\/\/(.+?)\.github\.io\/$/,
);
if (defaultSiteMatch) {
if (createGhPagesBranch) {
if (createGhPagesBranchRemote) {
notifyGhPagesBranch = true;
} else {
try {
Expand All @@ -237,7 +237,7 @@ async function publish(
}

// if this is an update then warn that updates may require a browser refresh
if (!createGhPagesBranch && !notifyGhPagesBranch) {
if (!createGhPagesBranchRemote && !notifyGhPagesBranch) {
info(colors.yellow(
"NOTE: GitHub Pages sites use caching so you might need to click the refresh\n" +
"button within your web browser to see changes after deployment.\n",
Expand Down

0 comments on commit d9bb9aa

Please sign in to comment.