Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch site generator from Jekyll to Pelican #23

Merged
merged 6 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
version: 2
updates:
- package-ecosystem: "bundler"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and deploy Jekyll site to GitHub Pages
name: Build and deploy to GitHub Pages

on:
push:
Expand All @@ -11,17 +11,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: helaili/jekyll-action@v2
if: github.event_name == 'pull_request'
submodules: recursive
- uses: actions/setup-python@v4
with:
build_only: true
- uses: helaili/jekyll-action@v2
cache: 'pip'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build
run: pelican -v
- name: Publish
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
publish_branch: master
10 changes: 4 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
_site/
.jekyll-metadata
.jekyll-cache/
.sass-cache/
.bundle/
venv/
__pycache__/

vendor/
output/

.idea/
.vscode/
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "themes/Flex"]
path = themes/Flex
url = https://github.com/alexandrevicenzi/Flex.git
branch = v3
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12.0
1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

11 changes: 0 additions & 11 deletions 404.html

This file was deleted.

9 changes: 0 additions & 9 deletions Gemfile

This file was deleted.

80 changes: 0 additions & 80 deletions Gemfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# A developer's notebook

[![Build and deploy Jekyll site to GitHub Pages](https://github.com/stefanjenkner/stefanjenkner.github.io/actions/workflows/github-pages.yml/badge.svg?branch=jekyll)](https://github.com/stefanjenkner/stefanjenkner.github.io/actions/workflows/github-pages.yml)
[![Build and deploy to GitHub Pages](https://github.com/stefanjenkner/stefanjenkner.github.io/actions/workflows/github-pages.yml/badge.svg?branch=jekyll)](https://github.com/stefanjenkner/stefanjenkner.github.io/actions/workflows/github-pages.yml)
[![Known Vulnerabilities](https://snyk.io/test/github/stefanjenkner/stefanjenkner.github.io/badge.svg)](https://snyk.io/test/github/stefanjenkner/stefanjenkner.github.io)

This repository powers <https://stefanjenkner.github.io>.
20 changes: 0 additions & 20 deletions _config.yml

This file was deleted.

43 changes: 0 additions & 43 deletions _includes/footer.html

This file was deleted.

45 changes: 0 additions & 45 deletions _includes/head.html

This file was deleted.

27 changes: 0 additions & 27 deletions _includes/header.html

This file was deleted.

1 change: 0 additions & 1 deletion _includes/icon-github.html

This file was deleted.

1 change: 0 additions & 1 deletion _includes/icon-github.svg

This file was deleted.

1 change: 0 additions & 1 deletion _includes/icon-twitter.html

This file was deleted.

1 change: 0 additions & 1 deletion _includes/icon-twitter.svg

This file was deleted.

20 changes: 0 additions & 20 deletions _layouts/default.html

This file was deleted.

14 changes: 0 additions & 14 deletions _layouts/page.html

This file was deleted.

Loading