Modify minor typo...:
``` --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,7 +18,7 @@ jobs: name: "Run Hugo" working_directory: /root/project/ command: | - if [ "${CIRCLE_BRANCH}" == "master" ]; then + if [ "${CIRCLE_BRANCH}" != "master" ]; then hugo -e staging -v -s /root/project/ else hugo -e production -v -s /root/project/ ```
This commit is contained in:
parent
5b8dae4a12
commit
95532ed9a2
|
@ -18,7 +18,7 @@ jobs:
|
||||||
name: "Run Hugo"
|
name: "Run Hugo"
|
||||||
working_directory: /root/project/
|
working_directory: /root/project/
|
||||||
command: |
|
command: |
|
||||||
if [ "${CIRCLE_BRANCH}" == "master" ]; then
|
if [ "${CIRCLE_BRANCH}" != "master" ]; then
|
||||||
hugo -e staging -v -s /root/project/
|
hugo -e staging -v -s /root/project/
|
||||||
else
|
else
|
||||||
hugo -e production -v -s /root/project/
|
hugo -e production -v -s /root/project/
|
||||||
|
|
Loading…
Reference in New Issue