Skip to content

Commit

Permalink
Blog redesign (#89)
Browse files Browse the repository at this point in the history
Blog redesign!
  • Loading branch information
bgalek authored Jul 10, 2024
1 parent 220d2a4 commit 14d9015
Show file tree
Hide file tree
Showing 968 changed files with 3,955 additions and 3,301 deletions.
1 change: 1 addition & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
---
BUNDLE_PATH: "vendor/bundle"
BUNDLE_SET: "path vendorbundle"
46 changes: 46 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Deploy to gh-pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
if: ${{ github.repository_owner != 'allegro-internal' }}
runs-on: ubuntu-latest
env:
JEKYLL_ENV: production
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
bundler-cache: true
- run: gem update --system 3.2.3
- uses: actions/setup-node@v4
with:
node-version: 'latest'
- run: npm install
- run: bundle install
- run: bundle exec jekyll build
- run: bundle exec jekyll algolia
env:
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
- 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
11 changes: 3 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
# if you want to add remains of your favourite editor, like `.idea` or `*.swp`, consider
# adding them to your ~/.gitignore and turning on global .gitignore by following command:
#
# git config --global core.excludesfile ~/.gitignore
#
# (copied from https://gist.github.com/subfuzion/db7f57fff2fb6998a16c)

_site
.sass-cache
.jekyll-cache
.jekyll-metadata
_site
vendor
node_modules
54 changes: 0 additions & 54 deletions .jshintrc

This file was deleted.

9 changes: 0 additions & 9 deletions .octodocker.yml

This file was deleted.

1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.10
25 changes: 25 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
permalink: /404.html
layout: default
---

<style media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

33 changes: 23 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
source 'https://rubygems.org'
gem "github-pages", "~> 227", group: :jekyll_plugins
gem 'jekyll-redirect-from'
gem 'jekyll-sitemap'
gem 'jekyll-relative-links'
gem 'webrick'
source "https://rubygems.org"
gem "github-pages", group: :jekyll_plugins

group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
gem 'jekyll-postcss'
gem 'jekyll-paginate-v2'
gem 'jekyll-timeago'
gem 'jekyll-sitemap'
gem 'jekyll-algolia'
gem 'jekyll-seo-tag'
gem 'jekyll-tagging'
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
gem "tzinfo", "~> 1.2"
gem "tzinfo-data", ">= 1.2022.3"
platforms :mingw, :x64_mingw, :mswin, :mswin64, :jruby do
gem 'wdm', '>= 0.1.0'
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
Loading

0 comments on commit 14d9015

Please sign in to comment.