File tree Expand file tree Collapse file tree 5 files changed +31
-0
lines changed
Expand file tree Collapse file tree 5 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ fun JobBuilder<*>.deployDocs() {
3131 name = " Copy Dokka output to Mkdocs output" ,
3232 command = " cp -r github-workflows-kt/build/dokka/html/* $directoryToDeploy /api-docs" ,
3333 )
34+ run (
35+ name = " Copy teaser image" ,
36+ command = " cp images/teaser-with-newest-version.svg $directoryToDeploy "
37+ )
3438 uses(
3539 name = " Deploy merged docs to GitHub Pages" ,
3640 action = GithubPagesDeployAction (
Original file line number Diff line number Diff line change 5353 name : ' Copy Dokka output to Mkdocs output'
5454 run : ' cp -r github-workflows-kt/build/dokka/html/* to-gh-pages/api-docs'
5555 - id : ' step-9'
56+ name : ' Copy teaser image'
57+ run : ' cp images/teaser-with-newest-version.svg to-gh-pages'
58+ - id : ' step-10'
5659 name : ' Deploy merged docs to GitHub Pages'
5760 uses : ' JamesIves/github-pages-deploy-action@v4'
5861 with :
Original file line number Diff line number Diff line change 8989 name : ' Copy Dokka output to Mkdocs output'
9090 run : ' cp -r github-workflows-kt/build/dokka/html/* to-gh-pages/api-docs'
9191 - id : ' step-19'
92+ name : ' Copy teaser image'
93+ run : ' cp images/teaser-with-newest-version.svg to-gh-pages'
94+ - id : ' step-20'
9295 name : ' Deploy merged docs to GitHub Pages'
9396 uses : ' JamesIves/github-pages-deploy-action@v4'
9497 with :
Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ val validateDuplicatedVersion by tasks.creating<Task> {
9393 rootDir.resolve(" .github/workflows/end-to-end-tests.main.kts" ).readText()
9494 .contains(" \" io.github.typesafegithub:action-updates-checker:$version \" " )
9595 ) { " Library version stated in end-to-end-tests.main.kts should be equal to $version !" }
96+ require(
97+ rootDir.resolve(" images/teaser-with-newest-version.svg" ).readText()
98+ .contains(" \" io.github.typesafegithub:github-workflows-kt:$version \" " )
99+ ) { " Library version stated in the teaser image shiuld be equal to $version !" }
96100 }
97101}
98102
You can’t perform that action at this time.
0 commit comments