File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 99jobs :
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
2324 --transform-for-static-hosting \
2425 --hosting-base-path OpenAPIKit \
2526 --target OpenAPIKit
27+ - uses : actions/cache/save@v4
28+ with :
29+ path : gh-pages
30+ key : gh-${{ github.run_number }}-pages
31+ enableCrossOsArchive : true
2632
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
2744 - name : Deploy to GitHub Pages
28452946 with :
You can’t perform that action at this time.
0 commit comments