From a907763f86f47d59d65e77494399590f34970f90 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Tue, 22 Feb 2022 18:02:22 +0900 Subject: [PATCH] fix build process --- .github/workflows/github-pages.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index e2fe606..e50c8d0 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -16,18 +16,18 @@ jobs: path: ${{ steps.brew_cache.outputs.dir }} key: brew-${{ hashFiles('**/Brewfile.lock.json') }} restore-keys: brew- - - name: Installing dependencies - run: | - yarn install - brew bundle - name: Git config run: | git config user.name bot git config user.email bot@example - - name: Build - run: | git subtree add --prefix pages origin gh-pages + - name: Build pages + run: | + yarn install yarn build + - name: Build book + run: | + brew bundle mdbook build - name: Publish run: |