Skip to content

Commit

Permalink
use Swift 5.10 to build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpolzin committed Oct 4, 2024
1 parent f80f2e3 commit d2ffff0
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -23,7 +24,19 @@ jobs:
--transform-for-static-hosting \
--hosting-base-path OpenAPIKit \
--target OpenAPIKit
- uses: actions/cache/save@v4
with:
path: ./gh-pages
key: ${{ github.run_number }}-pages

deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/cache/restore@v4
with:
path: ./gh-pages
key: ${{ github.run_number }}-pages
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
Expand Down

0 comments on commit d2ffff0

Please sign in to comment.