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
1 changed files with 8 additions and 7 deletions

View File

@ -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