Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions MultiProjectRepository/csharpCdWorkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
NUGETTOKEN: ${{ secrets.NUGET_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SCRIPTS_BASE_URL: https://raw.githubusercontent.com/linksplatform/Scripts/main/MultiProjectRepository
SETTINGS_BASE_URL: https://raw.githubusercontent.com/linksplatform/Settings/main

defaults:
run:
Expand Down Expand Up @@ -129,7 +130,7 @@ jobs:
run: |
export REPOSITORY_NAME=$(basename ${{ github.repository }})
wget "$SCRIPTS_BASE_URL/docfx.json"
wget "$SCRIPTS_BASE_URL/filter.yml"
wget "$SCRIPTS_BASE_URL/toc.yml"
wget "$SETTINGS_BASE_URL/filter.yml"
wget "$SETTINGS_BASE_URL/toc.yml"
wget "$SCRIPTS_BASE_URL/publish-csharp-docs.sh"
bash ./publish-csharp-docs.sh
5 changes: 0 additions & 5 deletions MultiProjectRepository/filter.yml

This file was deleted.

5 changes: 0 additions & 5 deletions MultiProjectRepository/toc.yml

This file was deleted.

4 changes: 4 additions & 0 deletions SingleProjectRepository/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ SHA=$(git rev-parse --verify HEAD)
COMMIT_USER_NAME="linksplatform"
COMMIT_USER_EMAIL="[email protected]"
REPOSITORY="github.com/linksplatform/$REPOSITORY_NAME"
SETTINGS_BASE_URL="https://raw.githubusercontent.com/linksplatform/Settings/main"

# Download configuration files from Settings repository
wget "$SETTINGS_BASE_URL/toc.yml"

# Insert repository name into DocFX's configuration files
sed -i "s/\$REPOSITORY_NAME/$REPOSITORY_NAME/g" toc.yml
Expand Down
5 changes: 0 additions & 5 deletions SingleProjectRepository/toc.yml

This file was deleted.