File tree Expand file tree Collapse file tree 2 files changed +45
-23
lines changed
Expand file tree Collapse file tree 2 files changed +45
-23
lines changed Original file line number Diff line number Diff line change 1+ name : Build EUD with doc.ctor
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ eud-build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Trigger internal workflow via GitHub API
11+ run : |
12+ curl -X POST \
13+ -H "Authorization: token ${{ secrets.DOCCTOR_ACTIONS_API_TOKEN }}" \
14+ -H "Accept: application/vnd.github+json" \
15+ https://api.github.com/repos/DevExpress/doc.ctor-actions/actions/workflows/eud.yml/dispatches \
16+ -d '{
17+ "ref":"main",
18+ "inputs": {
19+ "source_branch": "${{ github.ref_name}}",
20+ "content_stamp": "${{ github.sha }}"
21+ }
22+ }'
Original file line number Diff line number Diff line change 1- name : build eud on pull request
2-
3- on :
4- pull_request :
5-
6- jobs :
7- build-site :
8- runs-on : windows-latest
9- steps :
10- - name : Checkout branch
11- uses : actions/checkout@v4
12-
13- - name : Check status
14- run : git status
15-
16- - name : Download docfx
17- run : curl https://github.com/dotnet/docfx/releases/download/v2.77.0/docfx-win-x64-v2.77.0.zip -L -o ../docfx-win-x64-v2.77.0.zip
18-
19- - name : Expand docfx
20- run : Expand-Archive ../docfx-win-x64-v2.77.0.zip -DestinationPath ../docfx
21-
22- - name : Build site with docfx
23- run : ../docfx/docfx.exe build docfx.json -m _matomoContainerUrl="https://matomo.devexpress.com/js/container_kE7MWPi0.js" --warningsAsErrors
1+ name : build eud on pull request
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ build-site :
8+ runs-on : windows-latest
9+ steps :
10+ - name : Checkout branch
11+ uses : actions/checkout@v4
12+
13+ - name : Check status
14+ run : git status
15+
16+ - name : Download docfx
17+ run : curl https://github.com/dotnet/docfx/releases/download/v2.77.0/docfx-win-x64-v2.77.0.zip -L -o ../docfx-win-x64-v2.77.0.zip
18+
19+ - name : Expand docfx
20+ run : Expand-Archive ../docfx-win-x64-v2.77.0.zip -DestinationPath ../docfx
21+
22+ - name : Build site with docfx
23+ run : ../docfx/docfx.exe build docfx.json -m _matomoContainerUrl="https://matomo.devexpress.com/js/container_kE7MWPi0.js" --warningsAsErrors
You can’t perform that action at this time.
0 commit comments