File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed
src/main/kotlin/com/sergeysav/pages Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 2121
2222 steps :
2323 - uses : actions/checkout@v3
24-
24+ with :
25+ path : branch
26+
2527 - name : Set up JDK 17
2628 uses : actions/setup-java@v3
2729 with :
@@ -35,16 +37,19 @@ jobs:
3537 with :
3638 ref : site
3739 path : output
40+ token : ${{ secrets.PUSH_TOKEN }}
3841
3942 - name : Setup Gradle
4043 uses : gradle/gradle-build-action@v2
41- with :
42- arguments : run --args="--output ./output/docs"
4344
44- - name : Push output branch
45- working-directory : ./output
45+ - name : Gradle Build and Run
46+ working-directory : ./branch
4647 run : |
47- git config user.name 'Sergey Savelyev'
48- git config user.email 'SergeySave@users.noreply.github.com'
49- git commit -m "Automated Website Build"
50- git push
48+ ./gradlew run --args="--output ../output/docs"
49+
50+ - name : Commit and Push changes
51+ uses : EndBug/add-and-commit@v9
52+ with :
53+ cwd : ./output
54+ default_author : github_actions
55+ message : ' Automated Build'
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ repositories {
2727}
2828
2929dependencies {
30- implementation(" com.sergeysav:website-generator:1.0.0 " )
30+ implementation(" com.sergeysav:website-generator:1.0.1 " )
3131 api(" org.jetbrains.kotlinx:kotlinx-html-jvm:0.7.3" )
3232 api(" org.jetbrains.kotlin-wrappers:kotlin-css:1.0.0-pre.312-kotlin-1.6.10" )
3333 implementation(kotlin(" reflect" ))
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ object AboutMe : BaseResource("/") {
5858 width = 300 .px
5959 borderRadius = 150 .px
6060 }
61- this .src = getResourcePath(StaticResource (" Me2019_Square_NoEXIF.JPG " , " me.jpg" ))
61+ this .src = getResourcePath(StaticResource (" Me2019_Square_NoEXIF.jpg " , " me.jpg" ))
6262 this .alt = " A picture of Sergey Savelyev"
6363 }
6464 }
You can’t perform that action at this time.
0 commit comments