mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 17:57:33 +00:00
execute scripts
This commit is contained in:
5
.github/workflows/docs.yml
vendored
5
.github/workflows/docs.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
id: cache
|
id: cache
|
||||||
with:
|
with:
|
||||||
key: docs-${{ hashFiles('docs', 'proto', '!docs/build', '!docs/node_modules') }}
|
key: docs-${{ hashFiles('docs', 'proto', '!docs/build', '!docs/node_modules', '!docs/protoc-gen-connect-openapi') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
docs-
|
docs-
|
||||||
path: ${{ env.cache_path }}
|
path: ${{ env.cache_path }}
|
||||||
@@ -51,6 +51,9 @@ jobs:
|
|||||||
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||||
|
name: Ensure protoc plugins are available
|
||||||
|
run: cd docs && if [ ! -f "protoc-gen-connect-openapi/protoc-gen-connect-openapi" ]; then sh ./plugin-download.sh; fi
|
||||||
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||||
name: Build docs with Turbo
|
name: Build docs with Turbo
|
||||||
run: pnpm turbo build --filter=./docs
|
run: pnpm turbo build --filter=./docs
|
||||||
|
Reference in New Issue
Block a user