Skip to content

Commit

Permalink
update deployer config
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-kamil committed Feb 8, 2024
1 parent c764da3 commit 936b8ac
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ npm-debug.log
yarn-error.log
mix-manifest.json
auth.json

/public/packages
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"minimum-stability": "stable",
"prefer-stable": true,
"scripts": {
"post-install-cmd": ["php artisan vendor:publish --provider=\"Backpack\\CRUD\\BackpackServiceProvider\" --tag=public --force", "@php artisan elfinder:publish", "php artisan storage:link --quiet"],
"post-install-cmd": ["@php artisan elfinder:publish"],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@

// Config

set('writable_mode', 'chmod');
set('writable_chmod_mode', '0775');

set('bin/php', 'php8.2');
set('bin/composer', '{{bin/php}} $(which composer2)');
set('bin/composer', '{{bin/php}} {{deploy_path}}/.dep/composer.phar');

set('repository', 'git@github.com:SlovakNationalGallery/komarch.sk.git');

add('shared_files', []);
add('shared_files', ['auth.json']);
add('shared_dirs', ['public/wp-content']);

// Hosts
Expand Down

0 comments on commit 936b8ac

Please sign in to comment.