File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-latest
12
+ container :
13
+ image : swift:5.10
12
14
13
15
steps :
14
16
- uses : actions/checkout@v4
15
-
16
17
- name : Build Docs
17
18
run : |
18
19
mkdir -p ./gh-pages
23
24
--transform-for-static-hosting \
24
25
--hosting-base-path OpenAPIKit \
25
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
26
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
+ with :
40
+ path : gh-pages
41
+ key : gh-${{ github.run_number }}-pages
42
+ fail-on-cache-miss : true
43
+ enableCrossOsArchive : true
27
44
- name : Deploy to GitHub Pages
28
45
uses : JamesIves/github-pages-deploy-action@v4.5.0
29
46
with :
You can’t perform that action at this time.
0 commit comments