From 3e3e98db66bef9a5ea19e7eca18e10a21c5b586b Mon Sep 17 00:00:00 2001 From: liushuyu Date: Tue, 9 May 2023 16:44:33 -0600 Subject: [PATCH] CI: update CI actions --- .github/workflows/deploy.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 188799a..4aa94ba 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - name: Install dependencies @@ -30,10 +30,11 @@ jobs: run: ./.ci/build.sh - name: Deploy if: ${{ ! github.base_ref }} - uses: JamesIves/github-pages-deploy-action@3.7.1 + uses: JamesIves/github-pages-deploy-action@4.4.1 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: master - FOLDER: build - CLEAN: true - SINGLE_COMMIT: true + token: ${{ secrets.GITHUB_TOKEN }} + branch: master + folder: build + clean: true + single-commit: true + force: true