Skip to content

Commit

Permalink
github/workflows: Add automated docs deployment (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
woodruffw authored Apr 29, 2020
1 parent 9bff512 commit 69669af
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: docs-deploy

on:
push:
branches:
- master

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: deps
run: |
sudo apt-get update
sudo apt-get install -y groff
- name: docs
run: |
mkdir public
groff -mandoc -Thtml < twa.1 > public/index.html
- name: deploy
uses: peaceiris/[email protected]
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_branch: gh-pages
force_orphan: true

0 comments on commit 69669af

Please sign in to comment.