Skip to content

Commit 2d89a7f

Browse files
add Build EUD with doc.ctor
1 parent 133a17c commit 2d89a7f

File tree

2 files changed

+45
-23
lines changed

2 files changed

+45
-23
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
}'
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
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

0 commit comments

Comments
 (0)