ci: build in docs action without workflow dependency

docs-refactor
sammyette 2022-12-14 22:22:31 -04:00
parent f70efd9dd1
commit 642af2cfed
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 6 additions and 3 deletions

View File

@ -9,12 +9,15 @@ on:
jobs:
gen:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- name: Download Task
run: 'sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d'
- name: Build
run: ./bin/task
- name: Run docgen
run: go run cmd/docgen/docgen.go
- name: Run Lua docgen
run: ./hilbish cmd/docgen/docgen.lua
- name: Commit new docs
uses: stefanzweifel/git-auto-commit-action@v4
with: