Update deploy.yaml
This commit is contained in:
		
							parent
							
								
									b877857147
								
							
						
					
					
						commit
						faa1a50f82
					
				| 
						 | 
				
			
			@ -1,7 +1,8 @@
 | 
			
		|||
name: CI
 | 
			
		||||
on: 
 | 
			
		||||
  push:
 | 
			
		||||
    branches: [master]
 | 
			
		||||
    tags:
 | 
			
		||||
      - v1.*
 | 
			
		||||
  workflow_dispatch:
 | 
			
		||||
jobs:
 | 
			
		||||
  pull:
 | 
			
		||||
| 
						 | 
				
			
			@ -58,6 +59,7 @@ jobs:
 | 
			
		|||
          key: ${{ secrets.SSH_KEY }}
 | 
			
		||||
          script: |
 | 
			
		||||
            sudo su
 | 
			
		||||
            rm -rf /usr/share/nginx/html/ilia.moe
 | 
			
		||||
            cp -r repo/src /usr/share/nginx/html/ilia.moe
 | 
			
		||||
            cp -r repo/hugo/recipe/public /usr/share/nginx/html/ilia.moe/cool-stuff/
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue