Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
7d446b1
Commit first work on changing to asset pipeline
itrich May 25, 2022
aa33616
Change path in employees image url
itrich May 25, 2022
fe3915a
Migrate employee page to asset plugin
itrich May 25, 2022
9f372d6
Migrate news section to new asset pipeline
itrich May 25, 2022
6a0c418
Migrate partner profile to new asset pipeline
itrich May 25, 2022
aedb63c
Make logos of official announcements square
itrich May 25, 2022
10d8334
Migrate header and footer to new asset pipeline
itrich May 25, 2022
342e696
Install vips as dependency
itrich May 25, 2022
abc6eb7
Rename lightbox.css to lightbox.scss for better preprocessing
itrich May 25, 2022
f29955e
Prune asset settings
itrich May 25, 2022
c1aabe5
Hide assets directory and always use asset pipeline
itrich May 25, 2022
28f8a4e
Set GITHUB_WORKSPACE as safe place
itrich May 25, 2022
9300b11
Signed-off-by: Eduard Itrich <eduard@itrich.net>
itrich May 25, 2022
2228af4
Redo staging workflow
itrich May 25, 2022
dc77f82
Move git command outside of action
itrich May 25, 2022
9ae4664
Change variable notation
itrich May 25, 2022
8f82306
Redo variable notation
itrich May 25, 2022
73f2702
Add all directories as safe directory
itrich May 25, 2022
f175890
Just wipe the cache
itrich May 25, 2022
9bd1cf1
Migrate css and js to new pipeline, part #1
itrich May 25, 2022
4eb809c
Migrate further places with <img>
itrich May 25, 2022
0168cfd
Caching makes problems with git-based gems
itrich May 25, 2022
d9c9e97
Migrate about.md to new asset pipeline
itrich May 29, 2022
3fd5fe3
Migrate further content to new asset pipeline
itrich May 30, 2022
37321bf
Move favicon and website.manifest stuff to _asset directory
itrich May 30, 2022
6cd3a74
Remove minified versions and minify during build time
itrich May 30, 2022
9b67500
Move remaining favicons/tiles to _assets
itrich May 30, 2022
a07f0c0
Rename env plugin to match other names
itrich May 30, 2022
3456792
Make image a string, not array
itrich May 30, 2022
4994f14
Move favicon to other website.manifest related stuff
itrich May 30, 2022
dfd6676
Make browserconfig.xml an asset
itrich May 30, 2022
fec3a5d
Exclude assets from translations
itrich May 30, 2022
77adc53
Move index to other pages and have them at one place
itrich May 30, 2022
a2818bb
Move jekyll-seo-tag and jekyll-assets to local directory
itrich May 31, 2022
5323d6d
Add news with corresponding asset reference
itrich May 31, 2022
cf40f1a
Move browserconfig and site.webmanifest to _pages/meta
itrich May 31, 2022
c8b9494
Monkey patch jekyll-seo-tag so that we can use the new asset pipeline
itrich May 31, 2022
b2b73e1
Use constantly asset tag instead of liquid filter
itrich May 31, 2022
2cb7baf
Compress text-based assets
itrich May 31, 2022
ddab9cf
Add uglify-js as depedency, fix GitHub workflows
itrich May 31, 2022
6d3a367
Set jekyll_src
itrich May 31, 2022
d900532
Fix notation of cache action
itrich May 31, 2022
c7b91b5
Fix secrets notation
itrich May 31, 2022
cc6976d
Fix wrong title of lot 9c (#320)
itrich May 31, 2022
9091aa7
Fix title of lot 11 (#321)
itrich May 31, 2022
e9f9588
Add joint press release by eco and OSBA (#322)
itrich Jun 1, 2022
4dc8760
Fix padding of carousel caption, fix heading of English PM (#323)
itrich Jun 1, 2022
140b8f2
Use production config in production environment
itrich Jun 1, 2022
d1a11f5
Commit first work on changing to asset pipeline
itrich May 25, 2022
116b47c
Change path in employees image url
itrich May 25, 2022
82d75e5
Migrate employee page to asset plugin
itrich May 25, 2022
c512a81
Migrate news section to new asset pipeline
itrich May 25, 2022
9c0d8d3
Migrate partner profile to new asset pipeline
itrich May 25, 2022
14ce679
Make logos of official announcements square
itrich May 25, 2022
6952869
Migrate header and footer to new asset pipeline
itrich May 25, 2022
c93a547
Install vips as dependency
itrich May 25, 2022
7c969f3
Rename lightbox.css to lightbox.scss for better preprocessing
itrich May 25, 2022
3eefebe
Prune asset settings
itrich May 25, 2022
eac3fd0
Hide assets directory and always use asset pipeline
itrich May 25, 2022
38deeb2
Set GITHUB_WORKSPACE as safe place
itrich May 25, 2022
07cc060
Signed-off-by: Eduard Itrich <eduard@itrich.net>
itrich May 25, 2022
ee3f0c4
Redo staging workflow
itrich May 25, 2022
00dc8b7
Move git command outside of action
itrich May 25, 2022
e15ac68
Change variable notation
itrich May 25, 2022
dd79efa
Redo variable notation
itrich May 25, 2022
596b071
Add all directories as safe directory
itrich May 25, 2022
da2a0d8
Just wipe the cache
itrich May 25, 2022
71f734a
Migrate css and js to new pipeline, part #1
itrich May 25, 2022
a3cd5be
Migrate further places with <img>
itrich May 25, 2022
53d6225
Caching makes problems with git-based gems
itrich May 25, 2022
b804e94
Migrate about.md to new asset pipeline
itrich May 29, 2022
1288225
Migrate further content to new asset pipeline
itrich May 30, 2022
51f62b5
Move favicon and website.manifest stuff to _asset directory
itrich May 30, 2022
bb63b35
Remove minified versions and minify during build time
itrich May 30, 2022
ad4dc0b
Move remaining favicons/tiles to _assets
itrich May 30, 2022
13ad056
Rename env plugin to match other names
itrich May 30, 2022
89a02c2
Make image a string, not array
itrich May 30, 2022
62d93d7
Move favicon to other website.manifest related stuff
itrich May 30, 2022
8c18fc0
Make browserconfig.xml an asset
itrich May 30, 2022
659d155
Exclude assets from translations
itrich May 30, 2022
45650f2
Move index to other pages and have them at one place
itrich May 30, 2022
850389b
Move jekyll-seo-tag and jekyll-assets to local directory
itrich May 31, 2022
a75b6ef
Add news with corresponding asset reference
itrich May 31, 2022
4f884bc
Move browserconfig and site.webmanifest to _pages/meta
itrich May 31, 2022
65478af
Monkey patch jekyll-seo-tag so that we can use the new asset pipeline
itrich May 31, 2022
9202260
Use constantly asset tag instead of liquid filter
itrich May 31, 2022
10ceea6
Compress text-based assets
itrich May 31, 2022
5235ca1
Add uglify-js as depedency, fix GitHub workflows
itrich May 31, 2022
cc209ba
Set jekyll_src
itrich May 31, 2022
c80b14b
Fix notation of cache action
itrich May 31, 2022
84baf0d
Fix secrets notation
itrich May 31, 2022
5aa8ff8
Merge remote-tracking branch 'origin/feat/use-assets-plugin' into fea…
itrich Jun 1, 2022
15b19d6
Migrate latest post to new asset pipeline
itrich Jun 1, 2022
2814f07
Migrate latest post to new asset pipeline
itrich Jun 1, 2022
1f40091
Rebase 'feat/use-assets-plugin' onto 'main'
itrich Jun 1, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 7 additions & 3 deletions .github/workflows/build-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,22 @@ jobs:
- uses: actions/checkout@v2
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v2
id: cache
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-v2-${{ hashFiles('**/Gemfile.lock') }}
key: ${{ runner.os }}-gems-v${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-v2-
${{ runner.os }}-gems-v${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile') }}
${{ runner.os }}-gems-v${{ secrets.CACHE_VERSION }}-
# Use GitHub Deploy Action to build and deploy to Github
- uses: helaili/jekyll-action@v2
id: build
with:
jekyll_src: "."
jekyll_env: production
pre_build_commands: "apk add --update vips uglify-js"
build_only: true
jekyll_build_options: --config _config.staging.yml -d _site
jekyll_build_options: --config _config.prod.yml -d _site
- uses: burnett01/rsync-deployments@5.2
with:
switches: -avzr --delete --exclude=/docs/ --exclude=/antrag-bmwi
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/build-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,23 @@ jobs:
name: "Build and deploy to GitHub Pages"
runs-on: ubuntu-latest
steps:
# Set postBuffer of git to maximum as lower values may cause trobule while pushing
- run: git config --global http.postBuffer 524288000
- uses: actions/checkout@v2
id: checkout
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v2
id: cache
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-v2-${{ hashFiles('**/Gemfile') }}
key: ${{ runner.os }}-gems-v${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-v2-
${{ runner.os }}-gems-v${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/Gemfile') }}
${{ runner.os }}-gems-v${{ secrets.CACHE_VERSION }}-
# Use GitHub Deploy Action to build and deploy to Github
- uses: helaili/jekyll-action@v2
id: build
with:
jekyll_src: "."
jekyll_env: development
pre_build_commands: "apk add --update vips uglify-js"
build_only: true
jekyll_build_options: --config _config.staging.yml
jekyll_build_options: "--config _config.staging.yml"
7 changes: 6 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ source "https://rubygems.org"
gem "jekyll"
gem "jekyll-multiple-languages-plugin"
gem "jekyll-redirect-from"
gem "jekyll-seo-tag"
# Use local version of jekyll-seo-tag v2.8.0 so that we can modify the template file
gem "jekyll-seo-tag", path: "_gems/jekyll-seo-tag"
gem "jekyll-last-modified-at"
gem "jekyll-feed"
gem "jekyll-scholar"
# Use local version of jekyll-assets (master, 056d2c8) as RubyGems version is outdated
gem "jekyll-assets", path: "_gems/jekyll-assets"
gem "uglifier"
gem "ruby-vips"
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ tr:hover, tr:focus {
background-color: rgba(0,0,0,0.3);
backdrop-filter: blur(5px);
border-radius: 20px;
padding-left: 1rem !important;
padding-right: 1rem !important;
}

.carousel-caption p {
Expand Down
16 changes: 16 additions & 0 deletions _assets/css/_sass/fork-awesome/_path.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* FONT PATH
* -------------------------- */

@font-face {
font-family: '#{$fa-font-family}';
src: asset_url('forkawesome-webfont.eot?v=#{$fa-version}');
src: asset_url('forkawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),
asset_url('forkawesome-webfont.woff2?v=#{$fa-version}') format('woff2'),
asset_url('forkawesome-webfont.woff?v=#{$fa-version}') format('woff'),
asset_url('forkawesome-webfont.ttf?v=#{$fa-version}') format('truetype'),
asset_url('forkawesome-webfont.svg?v=#{$fa-version}#forkawesomeregular') format('svg');
// src: url('#{$fa-font-path}/ForkAwesome.otf') format('opentype'); // used when developing fonts
font-weight: normal;
font-style: normal;
font-display: block;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading