Try build actions
This commit is contained in:
parent
8af4d911d7
commit
50558fa295
2 changed files with 18 additions and 1 deletions
17
.github/workflows/pelican-publish.yml
vendored
Normal file
17
.github/workflows/pelican-publish.yml
vendored
Normal 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
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue