From 7cd873bf9a81ff7e1ebf8adb9aebbe2ca42dfe7c Mon Sep 17 00:00:00 2001 From: Cabbet Date: Wed, 9 Oct 2024 17:08:09 +0800 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 158bf77..bc21554 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -49,7 +49,12 @@ jobs: ${{ runner.os }}-node- # - run: npm ci - - run: hugo + - name: Build + run: | + npm install -D --save postcss-cli + npm install -D --save postcss + hugo + - name: Deploy uses: peaceiris/actions-gh-pages@v4 if: ${{ github.ref == 'refs/heads/main' }} # <-- specify same branch as above here