Skip to content

feat: adds deployment pipeline for preview / staging / prod & addresses lint issues #1

feat: adds deployment pipeline for preview / staging / prod & addresses lint issues

feat: adds deployment pipeline for preview / staging / prod & addresses lint issues #1

Workflow file for this run

name: "deploy staging 🏗️"
on:
pull_request:
branches: [staging]
jobs:
build_and_deploy:
env:
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
NUXT_PUBLIC_SITE_URL: ${{ secrets.NUXT_PUBLIC_SITE_URL }}
if: ${{ github.event.repository.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # v4
with:
ref: "${{ github.event.inputs.ref }}"
- uses: oven-sh/setup-bun@v1
- name: "Install dependencies"
run: bun install
- name: "Deploy target: staging"
run: bun run build && bun run generate
- uses: matter-labs/action-hosting-deploy@main
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}"
target: staging
projectId: zksync-docs
channelId: live