From 50558fa295c4427c306d48b6d503698a4bc1d27a Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Sat, 19 Sep 2020 19:55:21 +0200 Subject: [PATCH] Try build actions --- .github/workflows/pelican-publish.yml | 17 +++++++++++++++++ docs/publishconf.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/pelican-publish.yml diff --git a/.github/workflows/pelican-publish.yml b/.github/workflows/pelican-publish.yml new file mode 100644 index 0000000..7b76146 --- /dev/null +++ b/.github/workflows/pelican-publish.yml @@ -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 diff --git a/docs/publishconf.py b/docs/publishconf.py index ccc240d..9cf1083 100644 --- a/docs/publishconf.py +++ b/docs/publishconf.py @@ -5,7 +5,7 @@ sys.path.append(os.curdir) from pelicanconf import * -SITEURL = 'http://flex.alxd.me/blog' +SITEURL = 'https://flex.alxd.me/' RELATIVE_URLS = False