Skip to content

Instantly share code, notes, and snippets.

@kyoh86
Created March 29, 2019 03:59
Show Gist options
  • Save kyoh86/9129d5be74c2238d2e7e8da73cd9e53d to your computer and use it in GitHub Desktop.
Save kyoh86/9129d5be74c2238d2e7e8da73cd9e53d to your computer and use it in GitHub Desktop.
hugoがCircle CIで動かない

ls

#!/bin/sh -eo pipefail
pwd && ls -la
/work
total 39756
drwxr-xr-x   10 root     root          4096 Mar 29 03:27 .
drwxr-xr-x   33 root     root          4096 Mar 29 03:27 ..
drwxr-xr-x    2 root     root          4096 Mar 29 03:26 .circleci
drwxr-xr-x    5 root     root          4096 Mar 29 03:27 .git
-rw-r--r--    1 root     root          1622 Mar 29 03:26 .gitignore
-rw-r--r--    1 root     root           252 Mar 29 03:26 .gitmodules
-rw-r--r--    1 root     root         11357 Dec 29 08:50 LICENSE
-rw-r--r--    1 root     root            59 Mar 29 03:26 Makefile
-rw-r--r--    1 root     root         11459 Dec 29 08:50 README.md
drwxr-xr-x    2 root     root          4096 Mar 29 03:26 archetypes
drwxr-xr-x    5 root     root          4096 Mar 29 03:26 bin
-rw-r--r--    1 root     root          1989 Mar 29 03:26 config.toml
drwxr-xr-x    3 root     root          4096 Mar 29 03:26 content
-rwxr-xr-x    1 root     root      24140664 Feb  1 10:06 hugo
-rw-r--r--    1 root     root       7767211 Feb  1 09:42 hugo_0.54.0_Linux-64bit.tar.gz
-rw-r--r--    1 root     root       8714754 Feb  1 10:21 hugo_extended_0.54.0_Linux-64bit.tar.gz
drwxr-xr-x   14 root     root          4096 Mar 29 03:27 public
drwxr-xr-x    3 root     root          4096 Mar 29 03:26 static
drwxr-xr-x    3 root     root          4096 Mar 29 03:26 themes

build site

#!/bin/sh -eo pipefail
./hugo
/bin/sh: ./hugo: not found
Exited with code 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment