Advertisement
RokiAdhytama

deploy hugo to netlify

Sep 10th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. [build]
  2. publish = "public"
  3. command = "make prepare && hugo --source demo --baseURL $URL"
  4.  
  5. [context.production.environment]
  6. HUGO_VERSION = "0.73.0"
  7.  
  8. [context.deploy-preview]
  9. command = "make prepare && hugo --source demo --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
  10.  
  11. [context.deploy-preview.environment]
  12. HUGO_VERSION = "0.73.0"
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement