1
1
mirror of https://github.com/foxsen/archbase.git synced 2026-02-09 05:14:09 +08:00

use v3 deploy api

This commit is contained in:
Zhang Fuxin
2021-10-27 21:42:02 +08:00
parent b74929caef
commit a2fded1831

View File

@@ -40,10 +40,11 @@ jobs:
# Destination path
path: _book # optional
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@master
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
EMAIL: ${{ secrets.EMAIL }} # must be a verified email
GH_TOKEN: ${{ secrets.GH_PAT }} # https://github.com/settings/tokens
BUILD_DIR: _book/ # "_site/" by default
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
email: 2503799872@qq.com
build_dir: _book/