Skip to content
This repository was archived by the owner on Feb 26, 2026. It is now read-only.

Commit 3f3df3f

Browse files
committed
Add build docs workflow
1 parent 54a53c6 commit 3f3df3f

2 files changed

Lines changed: 30 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches:
4-
- docs/build-docc
4+
- main
55

66
jobs:
77
publish:
@@ -28,5 +28,4 @@ jobs:
2828
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
2929
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3030
command: pages deploy .build/documentation --project-name=xcodegraph
31-
# Optional: Enable this if you want to have GitHub Deployments triggered
3231
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/docs.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
merge_group:
9+
10+
concurrency:
11+
group: docs-${{ github.head_ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
build:
16+
name: Build
17+
runs-on: "ubuntu-latest"
18+
timeout-minutes: 15
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: jdx/mise-action@v2
22+
with:
23+
experimental: true
24+
- name: Setup Swift
25+
uses: SwiftyLab/setup-swift@latest
26+
with:
27+
swift-version: 6.0.3
28+
- name: Build docs
29+
run: mise run docs:build

0 commit comments

Comments
 (0)