From 65aaa5978046084608daf6d8f8507de970a615a2 Mon Sep 17 00:00:00 2001 From: Brian Wo <45139213+brainwo@users.noreply.github.com> Date: Thu, 16 May 2024 12:24:51 +0800 Subject: [PATCH] ci: update upload.yml --- .github/workflows/upload.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 8aedd30..8999276 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -27,11 +27,6 @@ jobs: uses: actions/checkout@v4 - name: Setup Pages uses: actions/configure-pages@v5 - - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 - with: - source: ./ - destination: ./_site - name: Setup Node uses: actions/setup-node@v4 with: @@ -40,8 +35,11 @@ jobs: run: npm install - name: Generate feed.xml run: node index.js - - name: Move feed.xml to pages artifact folder - run: mv feed.xml ./_site/ + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./ + destination: ./_site - name: Upload artifact uses: actions/upload-pages-artifact@v3