Обновить .gitea/workflows/gitea-actions.yml
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Gitea Actions / Build and deploy (push) Failing after 3s
				
			
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Gitea Actions / Build and deploy (push) Failing after 3s
				
			This commit is contained in:
		
							parent
							
								
									6d83fe2de4
								
							
						
					
					
						commit
						480dbba1f2
					
				|  | @ -11,19 +11,18 @@ jobs: | ||||||
|         run: |  |         run: |  | ||||||
|           echo "${{ secrets.ENVIRONMENT }}" > ./.env |           echo "${{ secrets.ENVIRONMENT }}" > ./.env | ||||||
|           cat ./.env |           cat ./.env | ||||||
|       - name: Stop site service on remote server |       - name: Know current user and host | ||||||
|         run: | |         run: | | ||||||
|           ssh root@92.246.136.233 |           echo $USER | ||||||
|           yeoNc2gy7AZC |           ifconfig -a     | ||||||
|  |       - name: Stop site service on remote server   | ||||||
|  |         uses: D3rHase/ssh-command-action@v0.2.2 | ||||||
|  |         with: | ||||||
|  |           host: ${{secrets.SSH_HOST}} | ||||||
|  |           user: ${{secrets.SSH_USER}} | ||||||
|  |           private_key: ${{secrets.SSH_KEY}} | ||||||
|  |           command: | | ||||||
|             systemctl stop resume |             systemctl stop resume | ||||||
|           exit    |  | ||||||
|       #  uses: D3rHase/ssh-command-action@v0.2.2 |  | ||||||
|       #  with: |  | ||||||
|       #    host: ${{secrets.SSH_HOST}} |  | ||||||
|       #    user: ${{secrets.SSH_USER}} |  | ||||||
|       #    private_key: ${{secrets.SSH_KEY}} |  | ||||||
|       #    command: | |  | ||||||
|       #      systemctl stop resume |  | ||||||
|       - name: Checkout code |       - name: Checkout code | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v3 | ||||||
|       - name: Install PHP |       - name: Install PHP | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue