flex/.github/workflows/pelican-publish.yml

25 lines
547 B
YAML
Raw Normal View History

2020-09-19 19:55:21 +02:00
name: Pelican Build
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
2020-09-19 20:02:33 +02:00
- uses: 1arp/create-a-file-action@0.2
with:
# path: 'docs'
file: 'requirements.txt'
content: |
pelican
markdown
2020-09-19 19:55:21 +02:00
- name: Publish
uses: nelsonjchen/gh-pages-pelican-action@master
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
PELICAN_CONFIG_FILE: docs/publishconf.py