Version 2.1.0 - Modification graphique
This commit is contained in:
		
							
								
								
									
										22
									
								
								.gitea/workflows/pipeline.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.gitea/workflows/pipeline.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
name: Subsonics Deployment
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - main
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  deploy:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Checkout repository
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
      
 | 
			
		||||
    - name: Update and upgrade server
 | 
			
		||||
      run: |
 | 
			
		||||
        ssh raphix@raphix.fr sudo apt update -y
 | 
			
		||||
        ssh raphix@raphix.fr sudo apt upgrade -y
 | 
			
		||||
 | 
			
		||||
    - name: Run deployment script
 | 
			
		||||
      run: ssh raphix@raphix.fr sudo -S -u gitlab-ci /home/gitlab-ci/subsonics_deploy.sh
 | 
			
		||||
		Reference in New Issue
	
	Block a user