yaml 配置
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m44s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m44s
				
			This commit is contained in:
		
							parent
							
								
									34e9aa13b5
								
							
						
					
					
						commit
						5a734b6a48
					
				| @ -3,7 +3,7 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - 'demo-t*' | ||||
|       - 'female-dt' | ||||
| 
 | ||||
| env: | ||||
|   BUILD: staging | ||||
| @ -30,15 +30,15 @@ jobs: | ||||
|         uses: https://gitea.yantootech.com/neil/build-push-action@v6 | ||||
|         with: | ||||
|           push: false | ||||
|           tags: emotion-digital-video:${{ gitea.run_id }} | ||||
|           tags: emotion-female-digital-video:${{ gitea.run_id }} | ||||
|       - name: Run docker | ||||
|         run: | | ||||
|           pwd | ||||
|           if [ "$(docker ps -q -f name=^emotion-digital-video$)" ]; then | ||||
|             docker stop emotion-digital-video | ||||
|           if [ "$(docker ps -q -f name=^emotion-female-digital-video$)" ]; then | ||||
|             docker stop emotion-female-digital-video | ||||
|           fi | ||||
|           docker run -d --rm --name emotion-digital-video \ | ||||
|           docker run -d --rm --name emotion-female-digital-video \ | ||||
|             -v /usr/share/fonts/opentype/noto:/usr/share/fonts \ | ||||
|             -p 6900:3000 \ | ||||
|             emotion-digital-video:${{ gitea.run_id }} | ||||
|             -p 6901:3000 \ | ||||
|             emotion-female-digital-video:${{ gitea.run_id }} | ||||
|       - run: echo "🍏 This job's status is ${{ job.status }}." | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Song367
						Song367