test: new formatting for Pages - Error Page +Dashboard pages part) #33
Workflow file for this run
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 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 |