Skip to content

Commit 76c9932

Browse files
authored
Update build system to include texts and Rest API (#768)
* add frontend texts * remove integrations * add previous method to create the API. Needs changing. * exclude vendor, as it's failing * put texts folder in place
1 parent 4ccb8b3 commit 76c9932

File tree

6 files changed

+78
-156
lines changed

6 files changed

+78
-156
lines changed

.github/workflows/build-release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,17 @@ jobs:
5959
cd $GITHUB_WORKSPACE
6060
./scripts/install-plugins.sh vendor public_html/lists/admin/plugins/
6161
62+
- name: Install the phpList4 based REST API
63+
run: |
64+
cd $GITHUB_WORKSPACE
65+
cd public_html/lists
66+
wget https://github.com/phpList/base-distribution/archive/phplist3.zip
67+
unzip phplist3.zip
68+
rm phplist3.zip
69+
mv base-distribution-phplist3 base
70+
cd base
71+
composer update --no-dev
72+
6273
- name: Create Database
6374
run: |
6475
sudo systemctl start mysql.service
@@ -81,6 +92,7 @@ jobs:
8192
uses: overtrue/[email protected]
8293
with:
8394
path: ./public_html
95+
options: --exclude=base/vendor
8496

8597
- name: Report Versions
8698
run: |

.php_cs

Lines changed: 0 additions & 27 deletions
This file was deleted.

.styleci.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 84 deletions
This file was deleted.

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
"type": "vcs",
3535
"url": "https://github.com/phpList/phplist-lan-info"
3636
},
37+
{
38+
"type": "vcs",
39+
"url": "https://github.com/phpList/phplist-lan-texts"
40+
},
3741
{
3842
"type": "vcs",
3943
"url": "https://github.com/phpList/updater"
@@ -89,6 +93,7 @@
8993
"public_html/lists/admin/ui/{$name}": ["phplist/phplist-ui-bootlist"],
9094
"public_html/lists/admin/help": ["phplist/phplist-lan-help"],
9195
"public_html/lists/admin/info": ["phplist/phplist-lan-info"],
96+
"public_html/lists/texts": ["phplist/phplist-lan-texts"],
9297
"public_html/lists/updater": ["phplist/updater"]
9398
}
9499
},
@@ -106,6 +111,7 @@
106111
"phplist/phplist-ui-bootlist": "@stable",
107112
"phplist/phplist-lan-help": "@stable",
108113
"phplist/phplist-lan-info": "@stable",
114+
"phplist/phplist-lan-texts": "@stable",
109115
"phplist/updater": "@stable",
110116
"phplist/phplist-plugin-invite": "dev-master",
111117
"michield/phplist-plugin-campaignslicer": "dev-master",

composer.lock

Lines changed: 60 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)