From 6d836356e49528300fd82fb393dcb46ae2fbe17c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Romanowski?= Date: Wed, 11 May 2022 08:48:18 +0200 Subject: [PATCH 1/4] Remove travis --- .travis.yml | 18 ------------------ README.md | 5 +++-- 2 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 5480d53..0000000 --- a/.travis.yml +++ /dev/null @@ -1,18 +0,0 @@ -dist: bionic - -language: generic - -before_install: - - curl -L https://github.com/getzola/zola/releases/download/v0.11.0/zola-v0.11.0-x86_64-unknown-linux-gnu.tar.gz > zola.tar.gz - - tar -xzf zola.tar.gz - -before_script: - - ./zola build - -deploy: - provider: pages - skip-cleanup: true - github-token: $GITHUB_TOKEN - keep-history: true - local-dir: public - verbose: true diff --git a/README.md b/README.md index f1267a2..fc5eb0e 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,10 @@ ![Screenshot](../master/screenshot/screenshot.png?raw=true) -Live demo here: https://pawroman.github.io/zola-theme-terminimal/ +See the live demo (of the default configuration) here: +https://pawroman.github.io/zola-theme-terminimal/ -Tested with Zola v0.11.0. +Tested with Zola v0.15.3. #### Fork disclaimer From b5a92ce082446470d170f052ed1b0e1412b55e2f Mon Sep 17 00:00:00 2001 From: Vincent Loupmon <6957532+Vloupmon@users.noreply.github.com> Date: Fri, 1 Apr 2022 15:26:40 +0200 Subject: [PATCH 2/4] Fix .posts overflowing .content --- sass/post.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/sass/post.scss b/sass/post.scss index e85e480..7d33367 100644 --- a/sass/post.scss +++ b/sass/post.scss @@ -1,6 +1,7 @@ @import "variables"; .posts { + width : 100%; margin: 0 auto; } From c442ebca44f387194043483134370e772cd228a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Romanowski?= Date: Wed, 11 May 2022 08:48:52 +0200 Subject: [PATCH 3/4] Fix whitespace --- sass/post.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sass/post.scss b/sass/post.scss index 7d33367..8b0e1a9 100644 --- a/sass/post.scss +++ b/sass/post.scss @@ -1,7 +1,7 @@ @import "variables"; .posts { - width : 100%; + width: 100%; margin: 0 auto; } @@ -132,4 +132,4 @@ .post-tag { text-decoration: underline; } -} \ No newline at end of file +} From 33eeb32825188d99c62e49ff5140b35e7f2a113f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Romanowski?= Date: Wed, 11 May 2022 08:53:20 +0200 Subject: [PATCH 4/4] Add GitHub actions pages publish --- .github/workflows/publish-pages.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/publish-pages.yml diff --git a/.github/workflows/publish-pages.yml b/.github/workflows/publish-pages.yml new file mode 100644 index 0000000..81a9ae1 --- /dev/null +++ b/.github/workflows/publish-pages.yml @@ -0,0 +1,18 @@ +name: Publish demo on GitHub Pages + +on: + push: + branches: + - master + +jobs: + build: + name: Publish site + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v3.0.0 + - name: Build and deploy + uses: shalzz/zola-deploy-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}