github.com/thiagoyeds/go-cloud@v0.26.0/internal/testing/deploywebsite.sh (about)

     1  #!/bin/bash
     2  
     3  # TODO implement.
     4  # Here's what we had in Travis:
     5  # install: "curl -fsSL https://github.com/gohugoio/hugo/releases/download/v0.54.0/hugo_0.54.0_Linux-64bit.tar.gz | tar zxf - -C \"$HOME\" hugo"
     6  # script: "HUGO_GOOGLEANALYTICS=UA-135118641-1 \"$HOME/hugo\" -s internal/website"
     7  # deploy:
     8  #   provider: pages
     9  #   edge: true
    10  #   fqdn: gocloud.dev
    11  #   skip-cleanup: true
    12  #   local-dir: internal/website/public
    13  
    14  # To do this manually:
    15  #
    16  # Invoke the `hugo` command manually (after installing `hugo`).
    17  # Separately check out the gh-pages branch of this repository.
    18  # Overwrite the contents of the branch with the public/ directory, and push
    19  # to the branch.