Initial gitea workflow
This commit is contained in:
		
							
								
								
									
										11
									
								
								.gitea/workflows/update-website.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.gitea/workflows/update-website.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | |||||||
|  | - name: Build and deploy the website | ||||||
|  |   uses: nekiro/ssh-job@main | ||||||
|  |   with: | ||||||
|  |     host: ${{ secrets.HOST }} | ||||||
|  |     password: ${{ secrets.PASSWORD }} | ||||||
|  |     user: ${{ secrets.USER }} | ||||||
|  |     command: | | ||||||
|  |       cd /var/www/ITR-Website | ||||||
|  |       git pull | ||||||
|  |       npm run build | ||||||
|  |       service nginx restart | ||||||
		Reference in New Issue
	
	Block a user