Skip to content

Commit a526991

Browse files
committed
use Swift 5.10 to build docs
1 parent f80f2e3 commit a526991

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/documentation.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ on:
99
jobs:
1010
build:
1111
runs-on: ubuntu-latest
12+
container:
13+
image: swift:5.10
1214

1315
steps:
1416
- uses: actions/checkout@v4
15-
1617
- name: Build Docs
1718
run: |
1819
mkdir -p ./gh-pages
@@ -23,9 +24,11 @@ jobs:
2324
--transform-for-static-hosting \
2425
--hosting-base-path OpenAPIKit \
2526
--target OpenAPIKit
26-
27+
- name: Install rsync
28+
run: |
29+
apt-get update && apt-get install -y rsync
2730
- name: Deploy to GitHub Pages
28-
uses: JamesIves/github-pages-deploy-action@v4.5.0
31+
uses: JamesIves/github-pages-deploy-action@v4.6.8
2932
with:
3033
folder: gh-pages
3134
branch: gh-pages

0 commit comments

Comments
 (0)