Merge pull request #16 from pawroman/spring-clean

Spring clean: Replace travis with GitHub actions, pull one fix
This commit is contained in:
Paweł Romanowski 2022-05-11 08:55:08 +02:00 committed by GitHub
commit a39490cf7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 21 deletions

18
.github/workflows/publish-pages.yml vendored Normal file
View file

@ -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 }}

View file

@ -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

View file

@ -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

View file

@ -1,6 +1,7 @@
@import "variables";
.posts {
width: 100%;
margin: 0 auto;
}
@ -131,4 +132,4 @@
.post-tag {
text-decoration: underline;
}
}
}