From 3f857982fb51eff0c0c17241b349e2166cb49a5f Mon Sep 17 00:00:00 2001 From: Chunlin Qin Date: Mon, 28 Aug 2023 19:10:29 +0800 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f04399b..b26693b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,12 +18,10 @@ jobs: node-version: 18 cache: yarn - - name: Get yarn cache - id: yarn-cache - run: echo "::set-output name=dir::$(yarn cache dir)" - - - run: yarn install --frozen-lockfile - - run: yarn build + - name: Install dependencies + run: yarn install --frozen-lockfile + - name: Build website + run: yarn build # Popular action to deploy to GitHub Pages: # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus