Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

chore(deps): update trufflesecurity/trufflehog digest to a4cc5f7 #5431

chore(deps): update trufflesecurity/trufflehog digest to a4cc5f7

chore(deps): update trufflesecurity/trufflehog digest to a4cc5f7 #5431

name: "Deploy preview"
on:
pull_request:
workflow_dispatch:
jobs:
build_and_preview:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
outputs:
output_urls: "${{ steps.preview_deploy.outputs.urls }}"
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: "Enable yarn cache"
uses: c-hive/gha-yarn-cache@d528cd63c28aed0a9f44b1cada95050d7aa95c2e # v2 # using cache
- name: "Setup node@14"
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with:
node-version: "lts/*"
- name: "Install dependencies"
run: |
yarn set version 3.1.1
yarn install
- name: "Generate preview dist"
run: yarn run docs:build
- name: "Deploy preview"
uses: matter-labs/action-hosting-deploy@main
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_AQWZX_ZKSYNC_V2_DOCS }}"
target: staging
projectId: aqwzx-zksync-v2-docs