mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-04 23:45:07 +00:00
chore(docs): fix prod build for vercel (#8121)
# Fix Fixes a problem on main
This commit is contained in:
parent
c9e352033e
commit
f6a50db96c
9
.github/workflows/docsusaurus.yml
vendored
9
.github/workflows/docsusaurus.yml
vendored
@ -48,11 +48,16 @@ jobs:
|
||||
- name: Perpare Production Environment
|
||||
if: ${{ github.ref == 'refs/heads/main' && steps.filter.outputs.src == 'true' }}
|
||||
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Build Project Artifacts
|
||||
- name: Build Preview
|
||||
if: ${{ github.ref != 'refs/heads/main' && steps.filter.outputs.src == 'true' }}
|
||||
env:
|
||||
NODE_OPTIONS: "--max_old_space_size=8192"
|
||||
if: steps.filter.outputs.src == 'true'
|
||||
run: vercel build --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Build Production
|
||||
if: ${{ github.ref == 'refs/heads/main' && steps.filter.outputs.src == 'true' }}
|
||||
env:
|
||||
NODE_OPTIONS: "--max_old_space_size=8192"
|
||||
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
|
||||
- name: Deploy Preview
|
||||
if: ${{ github.ref != 'refs/heads/main' && steps.filter.outputs.src == 'true' }}
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user