Skip to content

fix: config url and baseUrl after migration #1060

fix: config url and baseUrl after migration

fix: config url and baseUrl after migration #1060

Workflow file for this run

name: Documentation build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
inputs:
branch:
description: "Branch to build the does from"
required: false
default: "main"
defaults:
run:
shell: bash
env:
REGISTRY: ghcr.io
IMAGE_NAME: identus-documentation-portal
jobs:
build:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Update submodules
run: |
git submodule update --remote --recursive
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
- name: Install dependencies
run: yarn install
- name: Build website
run: |
yarn build --out-dir infra/website
release:
if: github.event_name == 'push' && !contains(github.event.head_commit.message, 'chore(release)')
uses: ./.github/workflows/release.yml
secrets: inherit
deploy:

Check failure on line 48 in .github/workflows/build-docs.yml

View workflow run for this annotation

GitHub Actions / Documentation build

Invalid workflow file

The workflow is not valid. .github/workflows/build-docs.yml (Line: 48, Col: 3): Error calling workflow 'hyperledger-identus/docs/.github/workflows/deployment.yml@357ac098c6f94ab32d6f8c5a2b661251a9dd1700'. The workflow is requesting 'contents: write', but is only allowed 'contents: read'.
if: startsWith(github.ref, 'refs/tags') && contains(github.event.head_commit.message, 'chore(release)')
uses: ./.github/workflows/deployment.yml
with:
version: "${{ github.ref_name }}"
env: "staging"
secrets: inherit