diff options
author | Dillon <dillonzq@outlook.com> | 2020-03-02 12:03:35 +0300 |
---|---|---|
committer | Dillon <dillonzq@outlook.com> | 2020-03-02 12:03:35 +0300 |
commit | 285efc01bbd6ff84f025b1acc5060233185e2f01 (patch) | |
tree | 123a3a4441a190accb784c8a383953c5b43c93e0 /.circleci | |
parent | f83b1c14c88b36de419e0eeb3b7e335434bb2032 (diff) |
feat(environment): use hugo.Environment to judge the production environment
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index b13f345..4752606 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: - checkout - run: git submodule sync - run: git submodule update --init - - run: HUGO_ENV=production hugo --source=exampleSite -v --gc + - run: hugo --source=exampleSite -v --gc - run: htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external workflows: |