From a526991312799ba177c9d1307da45a1be40b6233 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Thu, 3 Oct 2024 11:54:15 -0500 Subject: [PATCH] use Swift 5.10 to build docs --- .github/workflows/documentation.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index ab044c416..be25e892d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -9,10 +9,11 @@ on: jobs: build: runs-on: ubuntu-latest + container: + image: swift:5.10 steps: - uses: actions/checkout@v4 - - name: Build Docs run: | mkdir -p ./gh-pages @@ -23,9 +24,11 @@ jobs: --transform-for-static-hosting \ --hosting-base-path OpenAPIKit \ --target OpenAPIKit - + - name: Install rsync + run: | + apt-get update && apt-get install -y rsync - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.5.0 + uses: JamesIves/github-pages-deploy-action@v4.6.8 with: folder: gh-pages branch: gh-pages