forked from cerc-io/snowballtools-base
		
	Remove check for .env in build script (#144)
This commit is contained in:
		
							parent
							
								
									6a108c1a1b
								
							
						
					
					
						commit
						94a9bf88a9
					
				| @ -9,14 +9,6 @@ if [[ -d "$DEST_DIR" ]]; then | |||||||
|   exit 1 |   exit 1 | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| if [[ -f "$PKG_DIR/.env" ]]; then |  | ||||||
|   echo "Using existing .env file" |  | ||||||
| else |  | ||||||
|   mv "$PKG_DIR/.env.example" "$PKG_DIR/.env" |  | ||||||
|   echo "Created .env file. Please populate with the correct values." |  | ||||||
|   exit 1 |  | ||||||
| fi |  | ||||||
| 
 |  | ||||||
| cat > $PKG_DIR/.env <<EOF | cat > $PKG_DIR/.env <<EOF | ||||||
| REACT_APP_SERVER_URL = 'LACONIC_HOSTED_CONFIG_app_server_url' | REACT_APP_SERVER_URL = 'LACONIC_HOSTED_CONFIG_app_server_url' | ||||||
| REACT_APP_GITHUB_CLIENT_ID = 'LACONIC_HOSTED_CONFIG_app_github_clientid' | REACT_APP_GITHUB_CLIENT_ID = 'LACONIC_HOSTED_CONFIG_app_github_clientid' | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user