Only upload on new release
This commit is contained in:
		@@ -11,6 +11,8 @@ steps:
 | 
				
			|||||||
  image: python:3
 | 
					  image: python:3
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
  - make otaupload
 | 
					  - make otaupload
 | 
				
			||||||
 | 
					  when:
 | 
				
			||||||
 | 
					    event: tag
 | 
				
			||||||
- name: release
 | 
					- name: release
 | 
				
			||||||
  image: plugins/gitea-release
 | 
					  image: plugins/gitea-release
 | 
				
			||||||
  settings:
 | 
					  settings:
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -3,4 +3,4 @@ build:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
otaupload: 
 | 
					otaupload: 
 | 
				
			||||||
	pip install -r .pio/libdeps/nodemcu/Homie/scripts/ota_updater/requirements.txt
 | 
						pip install -r .pio/libdeps/nodemcu/Homie/scripts/ota_updater/requirements.txt
 | 
				
			||||||
	python .pio/libdeps/Homie/scripts/ota_updater/ota_updater.py -l mqtt.jcktrue.dk -i 18fe34f2f987 .pio/build/nodemcu/firmware.bin
 | 
						python .pio/libdeps/nodemcu/Homie/scripts/ota_updater/ota_updater.py -l mqtt.jcktrue.dk -i 18fe34f2f987 .pio/build/nodemcu/firmware.bin
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user