Specify the environment by hugo option:
```
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -17,7 +17,7 @@ jobs:
- run:
name: "Run Hugo"
working_directory: /root/project/
- command: HUGO_ENV=staging hugo -v -s /root/project/
+ command: hugo -e staging -v -s /root/project/
- run:
name: Change Amazon Links
```
This commit is contained in:
parent
5ec3b74ae9
commit
6abf67e828
@ -17,7 +17,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: "Run Hugo"
|
name: "Run Hugo"
|
||||||
working_directory: /root/project/
|
working_directory: /root/project/
|
||||||
command: HUGO_ENV=staging hugo -v -s /root/project/
|
command: hugo -e staging -v -s /root/project/
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Change Amazon Links
|
name: Change Amazon Links
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user