fix: add note about ByBit no longer supporting #389
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 preview" | |
concurrency: | |
group: deploy-pr-${{ github.ref }} | |
cancel-in-progress: true | |
on: pull_request | |
jobs: | |
build_and_preview: | |
if: ${{ github.event.repository.full_name == github.repository }} && ${{ github.repository }} == "matter-labs/zksync-lite-docs" || ${{ github.event.pull_request.base.repo.full_name == github.repository }} | |
runs-on: ubuntu-latest | |
environment: dev | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "Install dependencies" | |
run: | | |
yarn set version 3.2.0 | |
yarn install | |
- name: "Enable yarn cache" | |
uses: c-hive/gha-yarn-cache@v2 # using cache | |
- name: "Setup node@14" | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- name: "Install dependencies" | |
run: | | |
yarn set version 3.2.0 | |
yarn install | |
- name: "Run linters (markdownlint & cspell)" | |
run: yarn ci:lint | |
- name: "Deploy preview" | |
run: yarn docs:build | |
- uses: matter-labs/action-hosting-deploy@main | |
with: | |
firebaseToolsVersion: 12.9.1 | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZSYNC_WEB_DOCS_PROD }}" | |
projectId: zksync-web-docs | |
channelId: "v-${{ github.ref }}" |