Обновить .gitea/workflows/action.yaml
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Deploy Wishlist / deploy (push) Successful in 19s
				
			
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Deploy Wishlist / deploy (push) Successful in 19s
				
			This commit is contained in:
		
							parent
							
								
									71361c7e7d
								
							
						
					
					
						commit
						a343813b0f
					
				|  | @ -2,6 +2,9 @@ name: Deploy Wishlist | |||
| on: | ||||
|   push: | ||||
|     branches: [ master ] | ||||
|      | ||||
| env: | ||||
|   DEPLOY_DIR: ${{ secrets.DEPLOY_DIR }} | ||||
| 
 | ||||
| jobs: | ||||
|   deploy: | ||||
|  | @ -29,25 +32,10 @@ jobs: | |||
|       - name: Build assets | ||||
|         run: npm run build | ||||
|          | ||||
|       #- name: Prepare deployment directory | ||||
|       #  run: | | ||||
|       #    sudo chown -R $USER:$USER $DEPLOY_DIR | ||||
|       #    sudo chmod -R 775 $DEPLOY_DIR | ||||
|          | ||||
|       - name: Copy files to deployment directory | ||||
|         run: |  | ||||
|           sudo rsync -av ./ ${DEPLOY_DIR}/ | ||||
| 
 | ||||
|       #- name: Run migrations | ||||
|       #  run: php artisan migrate --force | ||||
| 
 | ||||
|       #- name: Clear cache | ||||
|       #  run: | | ||||
|       #    php artisan cache:clear | ||||
|       #    php artisan view:clear | ||||
|       #    php artisan route:clear | ||||
|       #    php artisan config:clear | ||||
| 
 | ||||
|       - name: Restart PHP service | ||||
|         run: sudo systemctl restart php8.2-fpm | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue