mirror of
				https://github.com/digitalocean/nginxconfig.io.git
				synced 2025-11-04 18:28:17 +08:00 
			
		
		
		
	travis deploy script fix
This commit is contained in:
		@@ -1,5 +1,6 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
npm ci --production
 | 
			
		||||
npm run build:prod
 | 
			
		||||
find public -type f -name "*.html" -exec sed -i -e "s/COMMIT_HASH/$TRAVIS_COMMIT/" {} \;
 | 
			
		||||
rsync \
 | 
			
		||||
@@ -12,7 +13,7 @@ rsync \
 | 
			
		||||
	--recursive \
 | 
			
		||||
	--stats \
 | 
			
		||||
	--verbose \
 | 
			
		||||
	--exclude="/.git*" \
 | 
			
		||||
	--exclude="/node_modules*" \
 | 
			
		||||
	--exclude="/cypress/videos*" \
 | 
			
		||||
	./ \
 | 
			
		||||
	www-data@nginxconfig.io:/var/www/nginxconfig.io/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user