Update tf_update.yml
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/tf_update.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/tf_update.yml
									
									
									
									
										vendored
									
									
								
							@@ -12,13 +12,13 @@ jobs:
 | 
				
			|||||||
      uses: appleboy/ssh-action@master
 | 
					      uses: appleboy/ssh-action@master
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        host: www.ourworld.tf
 | 
					        host: www.ourworld.tf
 | 
				
			||||||
        username: root
 | 
					        username: webuser
 | 
				
			||||||
        key: ${{ secrets.TF_SECRET }}
 | 
					        key: ${{ secrets.TF_SECRET }}
 | 
				
			||||||
        port: 22
 | 
					        port: 34022
 | 
				
			||||||
        script: |
 | 
					        script: |
 | 
				
			||||||
          cd /opt/www_ourworld_tf/
 | 
					          cd /home/webuser/websites/www_ourworld_tf/
 | 
				
			||||||
          git log -1
 | 
					          git log -1
 | 
				
			||||||
          git pull
 | 
					          git pull
 | 
				
			||||||
          npm run build
 | 
					          bash build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          
 | 
					          
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user