From f0aeda23e53484f3df33fd860b2dec88cb0d1aa2 Mon Sep 17 00:00:00 2001 From: rogerogers Date: Wed, 13 Nov 2024 10:19:31 +0800 Subject: [PATCH] chore: update ci Signed-off-by: rogerogers --- .github/workflows/deploy-cn.yml | 8 ++++---- .github/workflows/push-check.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-cn.yml b/.github/workflows/deploy-cn.yml index 19548a50e1..f6e4503dc0 100644 --- a/.github/workflows/deploy-cn.yml +++ b/.github/workflows/deploy-cn.yml @@ -6,24 +6,24 @@ on: - main jobs: deploy: - runs-on: [self-hosted, domestic, X64] + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 1 - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3 with: hugo-version: "0.119.0" extended: true - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "18" - name: Cache dependencies - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/push-check.yml b/.github/workflows/push-check.yml index 5db5660732..f4a9eb76ff 100644 --- a/.github/workflows/push-check.yml +++ b/.github/workflows/push-check.yml @@ -6,7 +6,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: typos-action uses: crate-ci/typos@v1.14.3