fishie
This commit is contained in:
		
							
								
								
									
										14
									
								
								honestyui-build.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										14
									
								
								honestyui-build.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| echo "Content-type: text/html" | ||||
| echo "" | ||||
|  | ||||
| cd ~/cicd/Fishie-Honesty-UI/ | ||||
| git pull | ||||
| docker compose -f .build/docker-compose.yml build | ||||
| docker compose -f .build/docker-compose.yml push | ||||
| ssh dc1.shihaam.me -p 2222 -t 'cd /mnt/vol3/www/honestyui; docker compose pull; docker compose down; docker compose up -d' | ||||
| cd - | ||||
|  | ||||
| echo "" | ||||
| echo "prolly done, check for yourself" | ||||
							
								
								
									
										3
									
								
								public/cgi-bin/trigger-honestyui-build.cgi
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								public/cgi-bin/trigger-honestyui-build.cgi
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| #!/bin/bash | ||||
|  | ||||
| $(pwd)/honestyui-build.sh | ||||
							
								
								
									
										1
									
								
								public/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								public/index.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| Hello | ||||
							
								
								
									
										5
									
								
								start_service.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								start_service.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| #!/bin/bash | ||||
| cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 | ||||
| SCREEN=$(basename $(pwd)) | ||||
| screen -S $SCREEN -p 0 -X quit | ||||
| screen -S $SCREEN -U -m -d python3 -m http.server --cgi --directory public 8012 | ||||
		Reference in New Issue
	
	Block a user