This repository was archived by the owner on Sep 11, 2019. It is now read-only.
File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,12 @@ Target "ReleaseSlides" (fun _ ->
158
158
CleanDir publishImagesDir
159
159
CopyRecursive outputImagesDir publishImagesDir true |> tracefn " %A "
160
160
161
+ let cssFile = slidesDir @@ " custom.css"
162
+ if File.Exists cssFile then
163
+ CopyFile publishDir cssFile |> tracefn " %A "
164
+
161
165
CopyFile publishDir ( outDir @@ " index.html" ) |> tracefn " %A "
162
-
166
+
163
167
StageAll ghPagesDir
164
168
Git.Commit.Commit ghPagesDir ( sprintf " Update generated slides for %s " topic)
165
169
Branches.push ghPagesDir
Original file line number Diff line number Diff line change 18
18
< link type ="text/css " rel ="stylesheet " href ="../../shared/fsharp.formatting/styles/style.css " />
19
19
< link type ="text/css " rel ="stylesheet " href ="../../shared/fsharp.formatting/styles/deedle.css " />
20
20
< link type ="text/css " rel ="stylesheet " href ="../../shared/css/custom.css " />
21
+ < link type ="text/css " rel ="stylesheet " href ="custom.css " />
21
22
< script src ="../../shared/fsharp.formatting/styles/tips.js " type ="text/javascript "> </ script >
22
23
< link rel ="shortcut icon " type ="image/png " href ="../../shared/favicon.png ">
23
24
<!-- For syntax highlighting -->
You can’t perform that action at this time.
0 commit comments