From e46cf944537d0f3a1d6cebfad175217e4b200b25 Mon Sep 17 00:00:00 2001 From: ahonn Date: Sun, 4 Feb 2024 13:53:27 +1100 Subject: [PATCH] ci: update deploy workflow --- .github/workflows/deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3a665563..50b108e4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,18 +8,19 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Checkout branch uses: actions/checkout@master with: ref: demo-source - - name: Use Node.js 10.x + - name: Use Node.js uses: actions/setup-node@master with: - node-version: '10.x' + node-version: '18.x' - name: Prepare source run: | + npm install hexo-renderer-ejs hexo-renderer-dartsass --save git clone -b master https://github.com/ahonn/hexo-theme-even.git themes/even cp themes/even/_config.yml.example themes/even/_config.yml npm install