single-pool: add explicit owner check in deposit #3
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: Docs Publish | |
on: | |
push: | |
branches: [master] | |
paths: | |
- 'docs/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: "importing all the document" | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
name: "installing the node.js with version 16" | |
- name: "Build Docs" | |
if: ${{ github.event_name == ('push' || 'pull_request')}} && ${{github.ref == 'master'}} | |
run: | | |
cd docs/ | |
npm ci | |
./build.sh | |
env: | |
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
VERCEL_SCOPE: ${{ secrets.VERCEL_SCOPE }} |