mirror of
https://github.com/zitadel/zitadel
synced 2024-11-22 00:39:36 +00:00
chore(docs): fix ci (#8135)
# Fixing Fork Previews This PR tries to fix the upload of the docs preview to vercel which was not working due to the not available secret.
This commit is contained in:
parent
cc00ee89ff
commit
21ffe4f693
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -20,6 +20,13 @@ permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
uses: ./.github/workflows/docsusaurus.yml
|
||||
secrets:
|
||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||
|
||||
core:
|
||||
uses: ./.github/workflows/core.yml
|
||||
with:
|
||||
|
23
.github/workflows/docsusaurus.yml
vendored
23
.github/workflows/docsusaurus.yml
vendored
@ -1,15 +1,22 @@
|
||||
name: Docs
|
||||
env:
|
||||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
VERCEL_TOKEN:
|
||||
description: 'Vercel API Token'
|
||||
required: true
|
||||
VERCEL_ORG_ID:
|
||||
description: 'Vercel Org/Team ID'
|
||||
required: true
|
||||
VERCEL_PROJECT_ID:
|
||||
description: 'Vercel Project ID'
|
||||
required: true
|
||||
jobs:
|
||||
Deploy:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dorny/paths-filter@v3
|
||||
|
Loading…
Reference in New Issue
Block a user