21 lines
605 B
YAML
21 lines
605 B
YAML
name: Powerlevel10k Documentation on Push
|
|
on: push
|
|
jobs:
|
|
action-filter:
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: files-filter
|
|
uses: wcchristian/gh-pattern-filter-action@master
|
|
with:
|
|
args: .*\\.md$
|
|
- name: Build documentation
|
|
uses: docker://decathlon/slate-builder-action:2.0.0
|
|
env:
|
|
DOC_BASE_FOLDER: docs
|
|
ZIP_BUILD: false
|
|
- name: Deploy to GitHub Pages
|
|
uses: docker://maxheld83/ghpages@v0.2.1
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
BUILD_DIR: test-documentation/build/ |