fix: refreshToken有效期问题 + authmodal logout when idtoken null #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-deploy-page | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
- LICENSE | |
jobs: | |
deploy: | |
name: Deploy Page | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 7.28.0 | |
- name: Setup node | |
uses: actions/setup-node@master | |
with: | |
node-version: ${{ matrix.node-version }} | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: pnpm install --no-frozen-lockfile --shamefully-hoist | |
- name: Build Modules | |
run: pnpm run build | |
- name: Build Examples | |
run: pnpm run deploy | |
- name: Deploy Examples | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
publish_dir: ./examples/dist | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
user_name: ${{ secrets.MY_USER_NAME }} | |
user_email: ${{ secrets.MY_USER_EMAIL }} | |
commit_message: auto deploy example |