Try build actions

This commit is contained in:
Alexandre Vicenzi 2020-09-19 19:55:21 +02:00
parent 8af4d911d7
commit 50558fa295
2 changed files with 18 additions and 1 deletions

17
.github/workflows/pelican-publish.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Pelican Build
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Publish
uses: nelsonjchen/gh-pages-pelican-action@master
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
PELICAN_CONFIG_FILE: docs/publishconf.py

View file

@ -5,7 +5,7 @@ sys.path.append(os.curdir)
from pelicanconf import * from pelicanconf import *
SITEURL = 'http://flex.alxd.me/blog' SITEURL = 'https://flex.alxd.me/'
RELATIVE_URLS = False RELATIVE_URLS = False