Обновить .gitea/workflows/action.yaml
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Deploy Wishlist / deploy (push) Has been cancelled
				
			
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Deploy Wishlist / deploy (push) Has been cancelled
				
			This commit is contained in:
		
							parent
							
								
									b6d90ebf14
								
							
						
					
					
						commit
						17731f450e
					
				|  | @ -27,9 +27,14 @@ jobs: | ||||||
|       - name: Build assets |       - name: Build assets | ||||||
|         run: npm run build |         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 |       - name: Copy files to deployment directory | ||||||
|         run: |  |         run: |  | ||||||
|           rsync -av ./ ${DEPLOY_DIR}/ |           sudo rsync -av ./ ${DEPLOY_DIR}/ | ||||||
|            |            | ||||||
|           if [ -f .env ]; then |           if [ -f .env ]; then | ||||||
|             sudo cp .env ${DEPLOY_DIR}/.env |             sudo cp .env ${DEPLOY_DIR}/.env | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue