Small changes to deploy
This commit is contained in:
27
deploy.yaml
Normal file
27
deploy.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
import:
|
||||
- recipe/laravel.php
|
||||
- contrib/php-fpm.php
|
||||
|
||||
config:
|
||||
repository: 'https://git.bh.ttx.sk/jaro/rpotisk-quasar.git'
|
||||
|
||||
hosts:
|
||||
nuc.lan:
|
||||
remote_user: deployer
|
||||
branch: master
|
||||
deploy_path: '/var/www/html/rpotisk2'
|
||||
bin/php: /usr/bin/php82
|
||||
php_fpm_version: 8.2
|
||||
php_fpm_service: php82-php-fpm
|
||||
after:
|
||||
deploy: php-fpm:reload
|
||||
|
||||
tasks:
|
||||
build:
|
||||
- cd: "/var/www/html/rpotisk2/current"
|
||||
- run: "pnpm install"
|
||||
- run: "pnpm run build"
|
||||
|
||||
after:
|
||||
deploy:failed: deploy:unlock
|
||||
|
||||
Reference in New Issue
Block a user