Skip to content

Commit

Permalink
Run 'enableMultisite' after the plugin activation! (GatherPress#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Oct 14, 2024
1 parent 486d251 commit 636f0dd
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/scripts/create-preview-links.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ function createBlueprint(context, number, zipArtifactUrl, phpVersion) {
networking: true
},
steps: [
{
step: 'enableMultisite',
},
{
step: 'login',
username: 'admin',
Expand Down Expand Up @@ -127,6 +124,16 @@ function createBlueprint(context, number, zipArtifactUrl, phpVersion) {
url: 'https://raw.githubusercontent.com/GatherPress/gatherpress-demo-data/main/GatherPress-demo-data-2024.xml'
}
},
/**
* Run 'enableMultisite' after the plugin activation!
*
* There have been some weird errors with this step, when ran after the login.
* Having it here at the end -kinda- fixes the problem.
* @see https://github.com/GatherPress/gatherpress/issues/950
*/
{
step: 'enableMultisite',
},
],
};

Expand Down

0 comments on commit 636f0dd

Please sign in to comment.