Feat: trick to clone at .
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		
							
								
								
									
										14
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								.drone.yml
									
									
									
									
									
								
							| @@ -7,19 +7,21 @@ workspace: | |||||||
|     path: /drone/content/ |     path: /drone/content/ | ||||||
|  |  | ||||||
| steps: | steps: | ||||||
|  - name: Build and Push Opytex |  - name: Build Opytex | ||||||
|    image: python:3.8-alpine |    image: python:3.8-alpine | ||||||
|    commands: |    commands: | ||||||
|      - apk add --no-cache openssh-client ca-certificates bash rsync git imagemagick |      - apk add --no-cache git imagemagick | ||||||
|      - cd .. |      - cd .. | ||||||
|      - git clone https://git.opytex.org/lafrite/site_opytex.git |      - git init . | ||||||
|      - cd site_opytex |      - git remote add origin https://git.opytex.org/lafrite/site_opytex.git | ||||||
|  |      - git pull origin master  | ||||||
|      - git submodule init |      - git submodule init | ||||||
|      - git submodule update |      - git submodule update | ||||||
|      - pip install --no-cache-dir -r requirements.txt |      - pip install --no-cache-dir -r requirements.txt | ||||||
|      - export MAGICK_HOME=/usr |      - export MAGICK_HOME=/usr | ||||||
|      - ln -s ../content ./content |      - pelican content/ -o output -s publishconf.py --relative-urls | ||||||
|      - pelican ./content/ -o output -s publishconf.py --relative-urls |  | ||||||
|  |      - apk add --no-cache openssh-client ca-certificates bash rsync | ||||||
|      - eval `ssh-agent -s` |      - eval `ssh-agent -s` | ||||||
|      - echo "$SSH_KEY" | ssh-add - |      - echo "$SSH_KEY" | ssh-add - | ||||||
|      - mkdir -p ~/.ssh |      - mkdir -p ~/.ssh | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user