forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pr/1901: (182 commits) Update README.md Add my website (alshedivat#1859) fix inconsistent alignment for latest posts (alshedivat#1832) Added shubhashisroydipta.com to README.md (alshedivat#1816) Update README.md (alshedivat#1856) Update README.md (alshedivat#1837) Added my website in the list (alshedivat#1834) fix reference disappearing for distill blog in absence of author (alshedivat#1804) Update Dockerfile Add DockerSlim (alshedivat#1699) Add Reload to Docker (Automatic Reload of Changes to _config.yaml) (alshedivat#1702) Fix a small bug in giscus template Make publication thumbnails optional + fix small layout bugs (alshedivat#1797) Remove by year grouping from selected publications (alshedivat#1796) Update giscus setup via github action (alshedivat#1792) Update README.md (alshedivat#1789) Fix Docker Problem (alshedivat#1785) Optimize Dockerfile (alshedivat#1700) Update README.md Update README.md ...
- Loading branch information
Showing
141 changed files
with
19,348 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
_site/ | ||
.git/ | ||
assets/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- ignore-for-release | ||
categories: | ||
- title: new features 🚀 | ||
labels: | ||
- enhancement | ||
- title: bug fixes and improvements ✨ | ||
labels: | ||
- bug-fix | ||
- title: other changes 🛠️ | ||
labels: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Docker Slim | ||
|
||
#Only trigger, when the build workflow succeeded | ||
on: | ||
workflow_run: | ||
workflows: ["Docker Image CI"] | ||
types: | ||
- completed | ||
|
||
# on: | ||
# push: | ||
# branches: | ||
# - 'master' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == 'alshedivat' | ||
|
||
defaults: | ||
run: | ||
working-directory: ${{ github.workspace }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Login | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
|
||
- name: update docker-compose | ||
shell: bash | ||
run: | | ||
sed -i "s|\.:|${{ github.workspace }}:|g" ${{ github.workspace }}/docker-compose.yml | ||
cat ${{ github.workspace }}/docker-compose.yml | ||
- uses: kitabisa/docker-slim-action@v1.0.3 | ||
env: | ||
DSLIM_PULL: true | ||
DSLIM_COMPOSE_FILE: ${{ github.workspace }}/docker-compose.yml | ||
DSLIM_TARGET_COMPOSE_SVC: jekyll | ||
DSLIM_CONTINUE_AFTER: signal | ||
with: | ||
target: amirpourmand/al-folio | ||
tag: "slim" | ||
|
||
# Push to the registry | ||
- run: docker image push amirpourmand/al-folio:slim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-added-large-files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,41 @@ | ||
FROM jekyll/jekyll | ||
FROM ubuntu:latest | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
Label MAINTAINER Amir Pourmand | ||
#install imagemagick tool for convert command | ||
RUN apk add --no-cache --virtual .build-deps \ | ||
libxml2-dev \ | ||
shadow \ | ||
autoconf \ | ||
g++ \ | ||
make \ | ||
&& apk add --no-cache imagemagick-dev imagemagick | ||
|
||
RUN apt-get update -y && apt-get install -y --no-install-recommends \ | ||
locales \ | ||
imagemagick \ | ||
ruby-full \ | ||
build-essential \ | ||
zlib1g-dev \ | ||
jupyter-nbconvert \ | ||
inotify-tools procps && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* | ||
|
||
|
||
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ | ||
locale-gen | ||
|
||
|
||
ENV LANG=en_US.UTF-8 \ | ||
LANGUAGE=en_US:en \ | ||
LC_ALL=en_US.UTF-8 \ | ||
JEKYLL_ENV=production | ||
|
||
# install jekyll and dependencies | ||
RUN gem install jekyll bundler | ||
|
||
RUN mkdir /srv/jekyll | ||
|
||
ADD Gemfile /srv/jekyll | ||
|
||
WORKDIR /srv/jekyll | ||
ADD Gemfile /srv/jekyll/ | ||
RUN bundle install | ||
|
||
RUN bundle install --no-cache | ||
# && rm -rf /var/lib/gems/3.1.0/cache | ||
EXPOSE 8080 | ||
|
||
COPY bin/entry_point.sh /tmp/entry_point.sh | ||
|
||
CMD ["/tmp/entry_point.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,27 @@ | ||
source 'https://rubygems.org' | ||
group :jekyll_plugins do | ||
gem 'classifier-reborn' | ||
gem 'jekyll' | ||
gem 'jekyll-archives' | ||
gem 'jekyll-diagrams' | ||
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-scholar' | ||
gem 'jekyll-sitemap' | ||
gem 'jekyll-target-blank' | ||
gem 'jekyll-toc' | ||
gem 'jekyll-twitter-plugin' | ||
gem 'jemoji' | ||
gem 'mini_racer' | ||
gem 'unicode_utils' | ||
gem 'webrick' | ||
end | ||
group :other_plugins do | ||
gem 'httparty' | ||
gem 'feedjira' | ||
gem 'httparty' | ||
end |
Oops, something went wrong.