Skip to content
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
Binary file removed .DS_Store
Binary file not shown.
108 changes: 108 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
name: Deploy site

on:
push:
branches:
- master
- main
paths:
- "assets/**"
- "**.bib"
- "**.html"
- "**.js"
- "**.liquid"
- "**/*.md"
- "**.yml"
- "Gemfile"
- "Gemfile.lock"
- "!.github/workflows/axe.yml"
- "!.github/workflows/broken-links.yml"
- "!.github/workflows/deploy-docker-tag.yml"
- "!.github/workflows/deploy-image.yml"
- "!.github/workflows/docker-slim.yml"
- "!.github/workflows/lighthouse-badger.yml"
- "!.github/workflows/prettier.yml"
- "!lighthouse_results/**"
- "!docs/CONTRIBUTING.md"
- "!docs/CUSTOMIZE.md"
- "!docs/FAQ.md"
- "!docs/INSTALL.md"
- "!README.md"
pull_request:
branches:
- master
- main
paths:
- "assets/**"
- "**.bib"
- "**.html"
- "**.js"
- "**.liquid"
- "**/*.md"
- "**.yml"
- "Gemfile"
- "Gemfile.lock"
- "!.github/workflows/axe.yml"
- "!.github/workflows/broken-links.yml"
- "!.github/workflows/deploy-docker-tag.yml"
- "!.github/workflows/deploy-image.yml"
- "!.github/workflows/docker-slim.yml"
- "!.github/workflows/lighthouse-badger.yml"
- "!.github/workflows/prettier.yml"
- "!lighthouse_results/**"
- "!docs/CONTRIBUTING.md"
- "!docs/CUSTOMIZE.md"
- "!docs/FAQ.md"
- "!docs/INSTALL.md"
- "!README.md"
workflow_dispatch:

permissions:
contents: write

jobs:
deploy:
# available images: https://github.com/actions/runner-images#available-images
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Ruby 💎
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3.5"
bundler-cache: true
- name: Setup Python 🐍
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip" # caching pip dependencies
- name: Setup Node 🧰
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Install JS deps 📦
run: npm ci
- name: Update _config.yml ⚙️
uses: fjogeleit/yaml-update-action@main
with:
commitChange: false
valueFile: "_config.yml"
propertyPath: "giscus.repo"
value: ${{ github.repository }}
- name: Install and Build 🔧
run: |
sudo apt-get update && sudo apt-get install -y imagemagick
pip3 install --upgrade nbconvert
export JEKYLL_ENV=production
bundle exec jekyll build
- name: Purge unused CSS 🧹
run: |
npm install -g purgecss
purgecss -c purgecss.config.js
- name: Deploy 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _site
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
_site
.bundle
.DS_Store
.idea
.jekyll-cache
.jekyll-metadata
.ruby-version
.sass-cache
.tweet-cache
.venv
assets/libs/
assets/rendercv/rendercv_output/*.typ
al-folio-upgrade-report.md
node_modules/
output/playwright/
test-results/
vendor

# Python bytecode from bin/ helper scripts
__pycache__/
*.pyc
64 changes: 64 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
source 'https://rubygems.org'

gem 'jekyll'

# Core plugins that directly affect site building
group :jekyll_plugins do
gem 'jekyll-3rd-party-libraries'
gem 'jekyll-archives-v2'
gem 'jekyll-cache-bust'
gem 'jekyll-email-protect'
gem 'jekyll-feed'
gem 'jekyll-get-json'
gem 'jekyll-imagemagick'
gem 'jekyll-jupyter-notebook'
gem 'jekyll-link-attributes'
gem 'jekyll-minifier'
gem 'jekyll-paginate-v2'
gem 'jekyll-regex-replace'
gem 'jekyll-scholar'
gem 'jekyll-sitemap'
gem 'jekyll-socials'
gem 'jekyll-tabs'
gem 'jekyll-terser', :git => "https://github.com/RobertoJBeltran/jekyll-terser.git"
gem 'jekyll-toc'
gem 'jekyll-twitter-plugin'
gem 'jemoji'

gem 'classifier-reborn' # used for content categorization during the build
end

# Gems for development or external data fetching (outside :jekyll_plugins)
group :other_plugins do
gem 'css_parser'
gem 'observer' # used by jekyll-scholar
gem 'ostruct' # used by jekyll-twitter-plugin
# gem 'terser' # used by jekyll-terser
# gem 'unicode_utils' -- should be already installed by jekyll
# gem 'webrick' -- should be already installed by jekyll
end

# Gems for al-folio plugins
group :al_folio_plugins do
gem 'al_folio_core', '= 1.0.15'
gem 'al_icons', '= 1.0.0'
gem 'al_folio_cv', '= 1.0.2'
gem 'al_folio_distill', '= 1.0.3'
gem 'al_folio_upgrade', '= 1.0.3'
gem 'al_folio_bootstrap_compat', '= 1.0.0'
gem 'al_cookie', '= 1.0.1'

gem 'al_analytics', '= 1.0.2'
gem 'al_citations', '= 1.0.1'
gem 'al_ext_posts', '= 1.0.3'
gem 'al_img_tools', '= 1.0.3'
gem 'al_search', '= 1.0.3'
gem 'al_charts', '= 1.0.1'
gem 'al_math', '= 1.0.2'
gem 'al_comments', '= 1.0.0'
gem 'al_newsletter', '= 1.0.0'

gem 'al_email_protect', '= 1.0.0'
gem 'al_marimo', '= 1.0.0'
gem 'al_rtl', '= 1.0.0'
end
Loading
Loading