We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f80f2e3 commit 8d087f3Copy full SHA for 8d087f3
.github/workflows/documentation.yml
@@ -9,10 +9,11 @@ on:
9
jobs:
10
build:
11
runs-on: ubuntu-latest
12
+ container:
13
+ image: swift:5.10
14
15
steps:
16
- uses: actions/checkout@v4
-
17
- name: Build Docs
18
run: |
19
mkdir -p ./gh-pages
@@ -23,7 +24,23 @@ jobs:
23
24
--transform-for-static-hosting \
25
--hosting-base-path OpenAPIKit \
26
--target OpenAPIKit
27
+ - uses: actions/cache/save@v4
28
+ with:
29
+ path: gh-pages
30
+ key: gh-${{ github.run_number }}-pages
31
+ enableCrossOsArchive: true
32
33
+ deploy:
34
+ needs: build
35
+ runs-on: ubuntu-latest
36
+ steps:
37
+ - uses: actions/checkout@v4
38
+ - uses: actions/cache/restore@v4
39
40
41
42
+ fail-on-cache-miss: true
43
44
- name: Deploy to GitHub Pages
45
uses: JamesIves/[email protected]
46
with:
0 commit comments