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

31 lines
699 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 21:35:02 +02:00
- name: Create requirements.txt
uses: 1arp/create-a-file-action@0.2
with:
file: requirements.txt
content: |
pelican
markdown
- name: Create build.sh
uses: 1arp/create-a-file-action@0.2
with:
file: build.sh
content: |
cd docs
2020-09-19 20:14:52 +02:00
- name: Build and Publish
2020-09-19 21:35:02 +02:00
uses: iranzo/gh-pages-pelican-action@1.0.1
2020-09-19 19:55:21 +02:00
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2020-09-19 21:35:02 +02:00
PELICAN_CONFIG_FILE: publishconf.py