|
36 | 36 | DB_HOST: localhost |
37 | 37 | WORDPRESS_V3_BLOCK_EDITOR_ENABLED: false # Test apiVersion 2 blocks against WordPress 6.2.8 |
38 | 38 | WORDPRESS_DB_SQL_DUMP_FILE: tests/Support/Data/dump-6.2.8.sql # Used to populate the test site database for WordPress 6.2.8 |
39 | | - INSTALL_PLUGINS: "autoptimize debloat litespeed-cache rocket-lazy-load sg-cachepress" # Don't include this repository's Plugin here. |
40 | | - INSTALL_PLUGINS_URLS: "http://cktestplugins.wpengine.com/wp-content/uploads/2024/11/disable-doing-it-wrong-notices.zip https://downloads.wordpress.org/plugin/block-visibility.3.3.0.zip https://downloads.wordpress.org/plugin/jetpack-boost.3.5.0.zip" # URLs to specific third party Plugins or versions that support WordPress 6.2.8 |
| 39 | + INSTALL_PLUGINS_URLS: "https://downloads.wordpress.org/plugin/block-visibility.3.3.0.zip" # URLs to specific third party Plugins or versions that support WordPress 6.2.8 |
41 | 40 | CONVERTKIT_API_KEY: ${{ secrets.CONVERTKIT_API_KEY }} # ConvertKit API Key, stored in the repository's Settings > Secrets |
42 | 41 | CONVERTKIT_API_SECRET: ${{ secrets.CONVERTKIT_API_SECRET }} # ConvertKit API Secret, stored in the repository's Settings > Secrets |
43 | 42 | CONVERTKIT_API_KEY_NO_DATA: ${{ secrets.CONVERTKIT_API_KEY_NO_DATA }} # ConvertKit API Key for ConvertKit account with no data, stored in the repository's Settings > Secrets |
@@ -125,22 +124,11 @@ jobs: |
125 | 124 | working-directory: ${{ env.ROOT_DIR }} |
126 | 125 | run: wp-cli core install --url=127.0.0.1 --title=ConvertKit --admin_user=admin --admin_password=password --admin_email=wordpress@convertkit.local |
127 | 126 |
|
128 | | - # env.INSTALL_PLUGINS is a list of Plugin slugs, space separated e.g. contact-form-7 woocommerce. |
129 | | - - name: Install Free Third Party WordPress Plugins |
130 | | - working-directory: ${{ env.ROOT_DIR }} |
131 | | - run: wp-cli plugin install ${{ env.INSTALL_PLUGINS }} |
132 | | - |
133 | 127 | # env.INSTALL_PLUGINS_URLS is a list of Plugin URLs, space separated, to install specific versions of third party Plugins. |
134 | 128 | - name: Install Free Third Party WordPress Specific Version Plugins |
135 | 129 | working-directory: ${{ env.ROOT_DIR }} |
136 | 130 | run: wp-cli plugin install ${{ env.INSTALL_PLUGINS_URLS }} |
137 | 131 |
|
138 | | - # These should be stored as a separated list of URLs in the repository Settings > Secrets > Repository Secret > CONVERTKIT_PAID_PLUGIN_URLS. |
139 | | - # We cannot include the URLs in this file, as they're not Plugins we are permitted to distribute. |
140 | | - - name: Install Paid Third Party WordPress Plugins |
141 | | - working-directory: ${{ env.ROOT_DIR }} |
142 | | - run: wp-cli plugin install ${{ secrets.CONVERTKIT_PAID_PLUGIN_URLS }} |
143 | | - |
144 | 132 | # Move Plugin |
145 | 133 | - name: Move Plugin |
146 | 134 | run: mv /home/runner/work/convertkit-wordpress/convertkit-wordpress/convertkit ${{ env.PLUGIN_DIR }} |
|
0 commit comments