move website deploy to box
This commit is contained in:
		
							parent
							
								
									33bfb2c745
								
							
						
					
					
						commit
						1c459761b2
					
				|  | @ -18,6 +18,7 @@ | ||||||
|     ../profiles/calibre |     ../profiles/calibre | ||||||
|     ../profiles/wallabag |     ../profiles/wallabag | ||||||
|     ../profiles/finance |     ../profiles/finance | ||||||
|  |     ../profiles/sync/website | ||||||
|     # ../profiles/archivebox |     # ../profiles/archivebox | ||||||
|     ../profiles/woodpecker-agent |     ../profiles/woodpecker-agent | ||||||
|   ]; |   ]; | ||||||
|  |  | ||||||
|  | @ -7,7 +7,6 @@ | ||||||
|     ../profiles/bluetooth |     ../profiles/bluetooth | ||||||
|     ../profiles/music |     ../profiles/music | ||||||
|     ../profiles/sync/kitaab |     ../profiles/sync/kitaab | ||||||
|     ../profiles/sync/website |  | ||||||
|     ../profiles/sync/cal |     ../profiles/sync/cal | ||||||
|     ../profiles/wifi |     ../profiles/wifi | ||||||
|     ../profiles/desktop |     ../profiles/desktop | ||||||
|  |  | ||||||
|  | @ -11,13 +11,13 @@ | ||||||
|       pkgs.deploy |       pkgs.deploy | ||||||
|     ]; |     ]; | ||||||
|     script = '' |     script = '' | ||||||
|       cd /etc/nixos/ # TODO make variable |       cd /home/anish/usr/helm/ | ||||||
|  |       git pull | ||||||
|       nix flake lock --update-input poonam |       nix flake lock --update-input poonam | ||||||
|       nix flake lock --update-input basant |       nix flake lock --update-input basant | ||||||
|       # TODO  |       git add flake.lock | ||||||
|       # git add flake.lock |       git diff-index --quiet HEAD || git commit -m 'updating website' # if nothing, don't exit 1 | ||||||
|       # git commit -m "update website" |       git push | ||||||
|       # git push |  | ||||||
|       deploy .#cube |       deploy .#cube | ||||||
|       exit 0 |       exit 0 | ||||||
|     ''; |     ''; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue