From ef06c4e23fb28d6d7059016d13af763787a735b8 Mon Sep 17 00:00:00 2001 From: Dillon Date: Sun, 16 Feb 2020 22:35:31 +0800 Subject: [PATCH] fix(ci): fix circleci config bug --- .circleci/config.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 14b80c1b..d7bd8a8a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,13 +13,12 @@ jobs: - checkout - run: git submodule sync - run: git submodule update --init - - run: cd << parameters.example-site-path >> - run: - name: "Run Hugo" - command: HUGO_ENV=production hugo --themesDir << parameters.theme-path >> -v --minify --gc - - run: - name: "Test Website" - command: htmlproofer public --allow-hash-href --empty-alt-ignore --disable-external + command: | + cd << parameters.example-site-path >> + pwd + HUGO_ENV=production hugo --themesDir << parameters.theme-path >> -v --minify --gc + htmlproofer public --allow-hash-href --empty-alt-ignore --disable-external workflows: build-check-exampleSite: jobs: