Skip to content

Commit

Permalink
Customize publish.yml
Browse files Browse the repository at this point in the history
Replace Jekyll build with Kotlin

Signed-off-by: Ryan Hilbert <[email protected]>
  • Loading branch information
RyanHilbert authored Oct 20, 2024
1 parent 764077e commit a193a3e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
# Workflow for building and deploying site to GitHub Pages
name: Deploy to GitHub Pages

on:
# Runs on pushes targeting the default branch
Expand Down Expand Up @@ -30,11 +30,8 @@ jobs:
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Build
run: kotlinc *.kt -d .jar && kotlin -classpath .jar MainKt > _site/index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

Expand Down

0 comments on commit a193a3e

Please sign in to comment.