Skip to content

Commit 607696f

Browse files
authored
Initial commit
0 parents  commit 607696f

36 files changed

+3785
-0
lines changed

.github/workflows/jekyll.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Build and Deploy Academic Website
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: false
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
26+
- name: Setup Ruby
27+
uses: ruby/setup-ruby@v1
28+
with:
29+
ruby-version: '3.2'
30+
bundler-cache: true
31+
cache-version: 0
32+
working-directory: ./
33+
34+
- name: Setup Pages
35+
id: pages
36+
uses: actions/configure-pages@v4
37+
38+
- name: Build with Jekyll
39+
working-directory: ./
40+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
41+
env:
42+
JEKYLL_ENV: production
43+
44+
- name: Upload artifact
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: ./_site/
48+
49+
deploy:
50+
environment:
51+
name: github-pages
52+
url: ${{ steps.deployment.outputs.page_url }}
53+
runs-on: ubuntu-latest
54+
needs: build
55+
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
56+
steps:
57+
- name: Deploy to GitHub Pages
58+
id: deployment
59+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Jekyll build files
2+
_site/
3+
.sass-cache/
4+
.jekyll-cache/
5+
.jekyll-metadata
6+
7+
# Ruby/Bundle files
8+
vendor/
9+
.bundle/
10+
Gemfile.lock
11+
12+
# OS generated files
13+
.DS_Store
14+
.DS_Store?
15+
._*
16+
.Spotlight-V100
17+
.Trashes
18+
ehthumbs.db
19+
Thumbs.db
20+
21+
# Editor files
22+
.vscode/
23+
.idea/
24+
*.swp
25+
*.swo
26+
*~
27+
28+
# Logs
29+
*.log
30+
31+
# Temporary files
32+
*.tmp
33+
*.temp
34+
35+
# Node modules (if using any)
36+
node_modules/
37+
38+
# Environment variables
39+
.env
40+
.env.local
41+
.env.development.local
42+
.env.test.local
43+
.env.production.local
44+
45+
# Backup files
46+
*.bak
47+
*.backup
48+
49+
# Academic-specific ignores
50+
# Uncomment if you don't want to track these
51+
# assets/pdfs/
52+
# assets/images/personal/

Gemfile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
source "https://rubygems.org"
2+
3+
# Jekyll version
4+
gem "jekyll", "~> 4.3.0"
5+
6+
# Required for Ruby 3.4+
7+
gem "csv"
8+
gem "logger"
9+
gem "base64"
10+
11+
# Plugins
12+
group :jekyll_plugins do
13+
gem "jekyll-feed"
14+
gem "jekyll-sitemap"
15+
gem "jekyll-seo-tag"
16+
end
17+
18+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
19+
# and associated library.
20+
platforms :mingw, :x64_mingw, :mswin, :jruby do
21+
gem "tzinfo", ">= 1", "< 3"
22+
gem "tzinfo-data"
23+
end
24+
25+
# Performance-booster for watching directories on Windows
26+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
27+
28+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
29+
# do not have a Java counterpart.
30+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

0 commit comments

Comments
 (0)