flex/.github/workflows/pelican-publish.yml
Alexandre Vicenzi 4f83f9c58c Here we go again
2020-09-19 21:36:51 +02:00

25 lines
598 B
YAML

name: Pelican Build
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Create requirements.txt
uses: 1arp/create-a-file-action@0.2
with:
file: requirements.txt
content: |
pelican
markdown
- name: Build and Publish
uses: iranzo/gh-pages-pelican-action@1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
SOURCE_FOLDER: docs/content
PELICAN_CONFIG_FILE: docs/publishconf.py