Skip to content

Commit

Permalink
Back up vapor.yml to do an asset-less deploy (#2636)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamelon7 authored Dec 8, 2023
1 parent 54e7306 commit aa8f923
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 7 deletions.
3 changes: 0 additions & 3 deletions sourcecode/apis/contentauthor/vapor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ environments:
memory: 1024
cli-memory: 512
runtime: docker
domain: ca.edlibdev.net
network: edlib-cerpus-test
cache: edlib-cerpus-test-cache
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-interaction --prefer-dist --no-dev --optimize-autoloader'
- 'php artisan optimize'
Expand Down
17 changes: 17 additions & 0 deletions sourcecode/apis/contentauthor/vapor.yml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
id: 55301
name: edlib-cerpus-ca
environments:
test:
memory: 1024
cli-memory: 512
runtime: docker
domain: ca.edlibdev.net
network: edlib-cerpus-test
cache: edlib-cerpus-test-cache
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-interaction --prefer-dist --no-dev --optimize-autoloader'
- 'php artisan optimize'
- 'php artisan event:cache'
- 'npm ci && npm run build && rm -rf node_modules'
deploy:
- 'php artisan migrate --force'
4 changes: 0 additions & 4 deletions sourcecode/hub/vapor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ environments:
memory: 1024
cli-memory: 512
runtime: docker
domain: hub.edlibdev.net
network: edlib-cerpus-test
database: edlib-cerpus-test-db
cache: edlib-cerpus-test-cache
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-interaction --prefer-dist --no-dev --optimize-autoloader'
- 'php artisan optimize'
Expand Down
21 changes: 21 additions & 0 deletions sourcecode/hub/vapor.yml.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
id: 55300
name: edlib-cerpus-hub
environments:
test:
memory: 1024
cli-memory: 512
runtime: docker
domain: hub.edlibdev.net
network: edlib-cerpus-test
database: edlib-cerpus-test-db
cache: edlib-cerpus-test-cache
build:
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-interaction --prefer-dist --no-dev --optimize-autoloader'
- 'php artisan optimize'
- 'php artisan event:cache'
- 'npm ci && npm run build && rm -rf node_modules'
deploy:
- 'php artisan migrate --force'
- "php artisan scout:delete-index 'App\\Models\\Content'"
- 'php artisan scout:sync-index-settings'
- "php artisan scout:import 'App\\Models\\Content'"

0 comments on commit aa8f923

Please sign in to comment.