Skip to content

feat(core): added support to embedded registries #37

feat(core): added support to embedded registries

feat(core): added support to embedded registries #37

Workflow file for this run

name: Wiki Catalog
on:
workflow_dispatch:
push:
branches: [ main ]
permissions:
contents: write
jobs:
generate-wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- run: dotnet build
- name: Generate wiki content
run: |
mkdir -p wiki_content
dotnet run --project src/Wiki -- wiki_content
- name: Clone wiki repository
run: |
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/JeanxPereira/AssetData.Parser.wiki.git wiki
- name: Sync wiki content
run: |
rm -rf wiki/Catalog
cp -r wiki_content/Catalog wiki/
- name: Commit and push wiki
run: |
cd wiki
git config user.name "ReCap Bot"
git config user.email "actions@github.com"
git add .
git diff --cached --quiet || git commit -m "Auto-update: Catalog Reference"
git push