From 79be88b8a4596311dade30a3a0304b96d3ed6ff1 Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 16:00:29 +0100 Subject: [PATCH 01/12] Re-add github-pages gem Gemfile version This reverts commit 22c0944325e6eb88984265424137c35e7b0f9591. Also this fails atm. --- Gemfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Gemfile b/Gemfile index 95268af..5ac4979 100644 --- a/Gemfile +++ b/Gemfile @@ -1,21 +1,12 @@ source 'https://rubygems.org' -gem "github-pages" -gem "jekyll" +gem "github-pages", group: :jekyll_plugins platforms :ruby_21 do gem "rb-inotify", "~> 0.9" gem "nokogiri", "~> 1.9" end -group :jekyll_plugins do - gem "jekyll-feed" - gem "jekyll-paginate" - gem "jekyll-redirect-from" - gem "jekyll-seo-tag" - gem "jekyll-sitemap" -end - group :test do gem "html-proofer" end From fd9e5d82cc591ffb82b3d9cb53d8be7537769889 Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 16:02:01 +0100 Subject: [PATCH 02/12] Re-add keys to use with github-pages gem This reverts commit 55de7a93aa9ecda7bd527f63506150cca11a0674. --- _config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_config.yml b/_config.yml index 7da240f..152ee48 100644 --- a/_config.yml +++ b/_config.yml @@ -1,3 +1,6 @@ +github: [metadata] +repository: dleidert/dleidert.github.io + theme: minima title: Daniels user page description: > From 187c7a0141aee2287cf0c8db64e77806337342f0 Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 16:04:12 +0100 Subject: [PATCH 03/12] Set branch for travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2a1281d..8dd7e74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ notifications: on_success: never branches: - only: master + only: github-pages-gem env: global: From e8a9321ed2ab231d936ef3803998b5f2d32121dc Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 17:10:39 +0100 Subject: [PATCH 04/12] Update bundle --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8dd7e74..e4b3312 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,10 @@ rvm: # gemfile: gemfiles/2.1.Gemfile # +before_script: +- bundle update github-pages +- bundle update + script: - bundle exec jekyll build --trace # https://github.com/gjtorikian/html-proofer/wiki/Using-HTMLProofer-From-Ruby-and-Travis From 155c5c5612fbd9b7d31d0de22769ed922bc96ea5 Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 16:16:55 +0100 Subject: [PATCH 05/12] Show all created files --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index e4b3312..16d2ec3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,3 +52,6 @@ script: --check-img-http --enforce-https --timeframe 4w ./_site + +after_sucess: +- find ./_site -type f From 4104ae227a5386ebf22dbf8f968af068d2ca7d51 Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 17:22:46 +0100 Subject: [PATCH 06/12] Debug attempt https://github.com/github/pages-gem/issues/351 --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 5ac4979..d62c86e 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem "github-pages", group: :jekyll_plugins +gem "github-pages", ">=104", roup: :jekyll_plugins platforms :ruby_21 do gem "rb-inotify", "~> 0.9" From 0471e502a5677d9045c2e64967daa2d29e4a2333 Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 17:25:46 +0100 Subject: [PATCH 07/12] Typo fix --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index d62c86e..a9ed95a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem "github-pages", ">=104", roup: :jekyll_plugins +gem "github-pages", ">=104", group: :jekyll_plugins platforms :ruby_21 do gem "rb-inotify", "~> 0.9" From 662afa4608839b9ccd29969631bcb7d7c69a2fa0 Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 17:50:35 +0100 Subject: [PATCH 08/12] Raise github-pages gem version --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index a9ed95a..be80e9b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem "github-pages", ">=104", group: :jekyll_plugins +gem "github-pages", ">=177", group: :jekyll_plugins platforms :ruby_21 do gem "rb-inotify", "~> 0.9" From 076ef87361fb9b2a8e570cd6b8836553295bb468 Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 22:49:16 +0100 Subject: [PATCH 09/12] Remove group directive --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index be80e9b..f3858cf 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem "github-pages", ">=177", group: :jekyll_plugins +gem "github-pages", ">=177" platforms :ruby_21 do gem "rb-inotify", "~> 0.9" From bd88c060dfd1772b044a3976dbe1fe4e20cfa40d Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 22:54:21 +0100 Subject: [PATCH 10/12] Cleanup Remove debug commands --- .travis.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16d2ec3..203879a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,16 +31,6 @@ rvm: - 2.4 - 2.5 -#matrix: -# include: -# - rvm: 2.1 -# gemfile: gemfiles/2.1.Gemfile -# - -before_script: -- bundle update github-pages -- bundle update - script: - bundle exec jekyll build --trace # https://github.com/gjtorikian/html-proofer/wiki/Using-HTMLProofer-From-Ruby-and-Travis @@ -53,5 +43,5 @@ script: --enforce-https --timeframe 4w ./_site -after_sucess: +after_success: - find ./_site -type f From f99164575fb214bdfa81d30bb798315517a0ad2c Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 23:08:52 +0100 Subject: [PATCH 11/12] Cleanup _config.yml --- _config.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/_config.yml b/_config.yml index 152ee48..7da240f 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,3 @@ -github: [metadata] -repository: dleidert/dleidert.github.io - theme: minima title: Daniels user page description: > From d8ceabab6532506f77deba3e8b6a5b8834287d1d Mon Sep 17 00:00:00 2001 From: Daniel Leidert Date: Sun, 3 Mar 2019 23:36:21 +0100 Subject: [PATCH 12/12] Re-add offending code This will make the build fail again --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index f3858cf..be80e9b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem "github-pages", ">=177" +gem "github-pages", ">=177", group: :jekyll_plugins platforms :ruby_21 do gem "rb-inotify", "~> 0.9"