CI: update CI actions

This commit is contained in:
liushuyu 2023-05-09 16:44:33 -06:00
parent edad79b4d6
commit 3e3e98db66
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437

View File

@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: true submodules: true
- name: Install dependencies - name: Install dependencies
@ -30,10 +30,11 @@ jobs:
run: ./.ci/build.sh run: ./.ci/build.sh
- name: Deploy - name: Deploy
if: ${{ ! github.base_ref }} if: ${{ ! github.base_ref }}
uses: JamesIves/github-pages-deploy-action@3.7.1 uses: JamesIves/github-pages-deploy-action@4.4.1
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
BRANCH: master branch: master
FOLDER: build folder: build
CLEAN: true clean: true
SINGLE_COMMIT: true single-commit: true
force: true