Skip to content

Commit

Permalink
[SKIP] Experimenting with custom Jekyll Github Actions build
Browse files Browse the repository at this point in the history
  • Loading branch information
themkat committed Jul 29, 2024
1 parent 2bc6931 commit f83aea7
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Jekyll site CI. Publishes org mode to html, create tag pages, push, and build jekyll.
name: Jekyll site CI

on:
push:
Expand Down Expand Up @@ -29,3 +29,31 @@ jobs:
git add . && \
git commit -am "[SKIP] New org mode articles and/or tags" && \
git push
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/[email protected]
with:
ruby-version: '3.1'
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit f83aea7

Please sign in to comment.