mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-01-09 12:11:05 +01:00
Merge pull request #16 from pawroman/spring-clean
Spring clean: Replace travis with GitHub actions, pull one fix
This commit is contained in:
commit
a39490cf7f
18
.github/workflows/publish-pages.yml
vendored
Normal file
18
.github/workflows/publish-pages.yml
vendored
Normal 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 }}
|
18
.travis.yml
18
.travis.yml
|
@ -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
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
@import "variables";
|
||||
|
||||
.posts {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
|
@ -131,4 +132,4 @@
|
|||
.post-tag {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue