Skip to content

feat: adding docusaurus docs project #35

feat: adding docusaurus docs project

feat: adding docusaurus docs project #35

name: Deploy to GitHub Pages
on:
pull_request:
push:
branches:
- main
- '[0-9]+.*'
permissions:
contents: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: matter-labs/block-explorer
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BE_TEST_DOCS_DEPLOY_KEY }}
- name: Install dependencies
run: npm ci
- name: Deploy to GitHub Pages
working-directory: ./packages/testing-docs
env:
USE_SSH: true
run: |
git config --global user.email "[email protected]"
git config --global user.name "gh-actions"
npm run deploy