Skip to content

Commit

Permalink
Remove 'landingPage' to allow more flexible setting via 'url'
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Jun 2, 2024
1 parent aeca6e1 commit e1e701b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/prepare-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ jobs:
// const zipArtifactUrl = `/plugin-proxy.php?org=WordPress&repo=gutenberg&workflow=Build%20Gutenberg%20Plugin%20Zip&artifact=gutenberg-plugin&pr=${prNumber}`;
const zipArtifactUrl = `https://hub.carsten-bach.de/gatherpress/plugin-proxy.php?org=GatherPress&repo=gatherpress&workflow=Build%20GatherPress%20Plugin%20Zip&artifact=gatherpress-pr&pr=${prNumber}`;
// Get link to the Playground site with the Blueprint to download and apply the PR
// landingPage: '/wp-admin/', // Should be better set via query API param 'url'.
const blueprint = {
landingPage: '/wp-admin/',
steps: [
{
step: 'login',
Expand Down Expand Up @@ -159,8 +159,9 @@ jobs:
};
// console.log( blueprint );
const encoded = JSON.stringify(blueprint);
console.log( 'WordPress playground Builder: ','https://playground.wordpress.net/builder/builder.html#' + encodeURI(encoded) );
console.log( 'Seamless WordPress playground: ', 'https://playground.wordpress.net/#' + encodeURI(encoded) );
console.log( 'WordPress playground Builder: ','https://playground.wordpress.net/builder/builder.html?url=/wp-admin/plugins.php#' + encodeURI(encoded) );
console.log( 'Normal WordPress playground: ', 'https://playground.wordpress.net/&url=/wp-admin/edit.php?post_type=gatherpress_event#' + encodeURI(encoded) );
console.log( 'Seamless WordPress playground: ', 'https://playground.wordpress.net/?mode=seamless&url=/wp-admin/edit.php?post_type=gatherpress_event#' + encodeURI(encoded) );
# Run a separate file
# If you don't want to inline your entire script that you want to run, you can use a separate JavaScript module in your repository like so:
Expand Down

0 comments on commit e1e701b

Please sign in to comment.