Skip to content

Commit

Permalink
ci: add manpage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli authored and toby committed Feb 16, 2022
1 parent c508766 commit c251203
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/manpage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: manpage

on:
push:
branches:
- manpage

jobs:
manpage:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Checkout code
uses: actions/checkout@v2

- name: Download Go modules
run: go mod download

- name: Build
run: |
cd cmd/soft
go build -v -tags mango
- name: Generate man-page
run: |
./cmd/soft/soft > ./cmd/soft/soft.1
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit_message: "docs: update man page"
branch: manpage
commit_user_name: mango 🤖
commit_user_email: [email protected]
commit_author: mango 🤖 <[email protected]>

0 comments on commit c251203

Please sign in to comment.