update @ Sat 2 Apr 21:27:19 EEST 2022

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-04-02 21:27:19 +03:00
parent 41649d1d1a
commit 6168903029
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2
3 changed files with 31 additions and 1 deletions

30
.github/workflows/build.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: Test if the site builds
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
run: |
pip install -r requirements.txt
- name: Build static site
run: |
python3 scripts/blog static

View file

@ -230,7 +230,7 @@ def new_blog(config: Dict) -> Tuple[int, Dict]:
"title": b64encode(us_title.encode()).decode(),
"content": "",
"version": BLOG_VERSION,
"time": "Unknown",
"time": 0.0,
"keywords": "",
}