fix: fixed WalletConnect
automatic connection issue
#7
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: Deploy docs | |
on: | |
push: | |
branches: | |
- main | |
- alpha | |
jobs: | |
release: | |
name: deploy docs | |
if: github.repository == 'node-real/walletkit' | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup | |
- name: Build docs | |
run: pnpm build:docs | |
- name: Redirect | |
run: | | |
mkdir -p ./website/dist/website/dist | |
cat << EOF > "./website/dist/website/dist/index.html" | |
<script>window.location.href='https://node-real.github.io/walletkit'</script> | |
EOF | |
- name: Deploy docs | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: ./website/dist | |
branch: 'docs' | |
clean: true | |
force: true |