tools: deploy tweaks
[ci skip]
This commit is contained in:
		
							parent
							
								
									a0c9c3534b
								
							
						
					
					
						commit
						e0c6a18199
					
				| @ -1,11 +1,12 @@ | |||||||
| #!/bin/sh | #!/bin/sh | ||||||
| # Update website(s): hledger.org | # Update website(s): hledger.org | ||||||
| # | # | ||||||
| # Called periodically by cron (eg on the hour) | # Called via github webhook (on push to main repo or wiki) | ||||||
| #  /etc/crontab |  | ||||||
| # and via github webhook (on push to main repo or wiki) |  | ||||||
| #  /etc/supervisord.conf -> [program:github-post-receive] | #  /etc/supervisord.conf -> [program:github-post-receive] | ||||||
| #  /etc/github-post-receive.conf | #  /etc/github-post-receive.conf | ||||||
|  | # and via cron (nightly) | ||||||
|  | #  /etc/crontab | ||||||
|  | # or manually (make deploy) | ||||||
| 
 | 
 | ||||||
| (\ | (\ | ||||||
| 
 | 
 | ||||||
| @ -16,12 +17,12 @@ echo && date --rfc-3339=seconds && \ | |||||||
| # git pull && \ | # git pull && \ | ||||||
| 
 | 
 | ||||||
| # fetch latest wiki content | # fetch latest wiki content | ||||||
| git -C wiki pull && \ | printf "wiki: " && git -C wiki pull && \ | ||||||
| 
 | 
 | ||||||
| # add latest wiki sidebar links to home page | # add latest wiki sidebar links to home page | ||||||
| make site/index.md && \ | make --no-print-directory site/index.md && \ | ||||||
| 
 | 
 | ||||||
| # ensure haskell can handle non-ascii | # ensure GHC can handle non-ascii | ||||||
| export LANG=en_US.UTF-8 && \ | export LANG=en_US.UTF-8 && \ | ||||||
| 
 | 
 | ||||||
| # ensure latest Shake is built | # ensure latest Shake is built | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user