Feat: Add a way to verify signature inside the Ts SDK (#135) #76
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: Generate Doc | |
on: | |
push: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
Doc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: npm | |
- name: Install dependencies | |
run: npm install | |
- name: Create Doc | |
run: npm run doc | |
- name: Push Doc | |
run: | | |
BRANCH=gh-pages | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git fetch origin $BRANCH | |
git reset --mixed origin/$BRANCH | |
git add -f docs | |
git commit -m "Updating documentation: $GITHUB_ACTOR" | |
git push origin HEAD:$BRANCH |