Skip to content

Add changelog support, fixes #5 #138

Add changelog support, fixes #5

Add changelog support, fixes #5 #138

Workflow file for this run

name: Build documentation
on:
push:
branches:
- main
env:
TITLE: apos-docs
DESCRIPTION: Documentation static site generator.
BASE: apos-docs
REPO: https://github.com/Apostolique/apos-docs/tree/main/
URL: https://apostolique.github.io/apos-docs/
ANALYTICS: G-TK6SK1XJRV
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Install apos-docs
run: npm install -g
- name: Setup npm cache
uses: c-hive/gha-npm-cache@v1
- name: Use apos-docs
run: |
apos-docs -t ${{ env.TITLE }} -d '${{ env.DESCRIPTION }}' -b ${{ env.BASE }} -r ${{ env.REPO }} -a ${{ env.ANALYTICS }} -u ${{ env.URL }}
cd apos-docs
npm install
npm run build
cd -
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apos-docs/_site