Skip to content

Commit

Permalink
4.1beta3: インストールスクリプトでプラグインをインストールできるように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
okazy committed Aug 12, 2021
1 parent c19669b commit 3886e20
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ jobs:
APP_ENV: 'prod'
DATABASE_URL: postgres://postgres:[email protected]:5432/eccube_db
DATABASE_SERVER_VERSION: 11
ECCUBE_PACKAGE_API_URL: "https://package-api-41beta.ec-cube.net"
run: |
echo "APP_ENV=${APP_ENV}" > .env
echo "ECCUBE_PACKAGE_API_URL=${ECCUBE_PACKAGE_API_URL}" > .env
echo "id,name,code,enabled,version,source,initialized,create_date,update_date,discriminator_type" > src/Eccube/Resource/doctrine/import_csv/ja/dtb_plugin.csv
bin/console doctrine:database:create --env=dev
bin/console doctrine:schema:create --env=dev
bin/console eccube:fixtures:load --env=dev
Expand All @@ -59,12 +62,11 @@ jobs:
DATABASE_URL: postgres://postgres:[email protected]:5432/eccube_db
DATABASE_SERVER_VERSION: 11
run: |
bin/console eccube:composer:require "ec-cube/Api:^2.0"
bin/console eccube:composer:require "ec-cube/Recommend4"
bin/console eccube:composer:require "ec-cube/Api"
- name: Pre Install Plugins
env:
PGPASSWORD: 'password'
run: psql eccube_db -h 127.0.0.1 -U postgres -c "select * from dtb_plugin;" -A -F, --pset footer > src/Eccube/Resource/doctrine/import_csv/ja/dtb_plugin.csv
- name: Checkout dtb_plugin
run: git checkout src/Eccube/Resource/doctrine/import_csv/ja/dtb_plugin.csv

- name: Packaging
working-directory: ../
Expand Down

0 comments on commit 3886e20

Please sign in to comment.