Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lucperkins/hugo-fresh.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan M <StefMa@users.noreply.github.com>2019-10-08 09:20:48 +0300
committerGitHub <noreply@github.com>2019-10-08 09:20:48 +0300
commitc42cd9238485c134761be715c968b4a1c7cbcac0 (patch)
tree11040ea8d1ab7ea4f119583365f96c7c0e6ecc07
parent7c94d860e1caf1b77b74f5594756f0f36351be05 (diff)
parent4117e6f1a4273d7195d925eb8c69ad17310e1991 (diff)
Merge pull request #86 from StefMa/fixed_hugo_version
Install specific hugo version
-rw-r--r--.circleci/config.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 36c43cf..53328dd 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -7,7 +7,13 @@ jobs:
steps:
- run:
name: Install hugo
- command: apk add hugo
+ command: |
+ apk add wget
+ wget -q https://github.com/gohugoio/hugo/releases/download/v0.58.3/hugo_0.58.3_Linux-64bit.tar.gz
+ apk add tar
+ tar xzf hugo_0.58.3_Linux-64bit.tar.gz
+ chmod a+x hugo
+ mv hugo /usr/local/bin/hugo
- run:
name: Create site
@@ -81,8 +87,8 @@ jobs:
command: |
apk add --update npm
npm config set unsafe-perm true
- npm install -g now@16.3.0
+ npm install -g now@16.3.1
- run:
name: Publish to now.sh
working_directory: my-site/public
- command: now --target production --token ${NOW_TOKEN}
+ command: now --prod --token ${NOW_TOKEN}