Skip to content

Commit

Permalink
ci: fix PHP documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes committed Apr 8, 2021
1 parent 0273dbf commit 44293ad
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run sudo-bot to docs
name: Build PHP documentation

on:
repository_dispatch:
Expand All @@ -9,19 +9,16 @@ jobs:
run-sudo-bot-build-docs:
environment:
name: "sudo-bot"
url: https://williamdes.github.io/mariadb-mysql-kbs/
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Clean docs
run: rm -rf ./docs/*
- name: build doctum docs
uses: sudo-bot/action-doctum@dev
with:
config-file: ./scripts/doctum-config.php
method: "update"
cli-args: "--output-format=github --no-ansi --no-progress -v --force"
- name: Move docs
run: sudo mv ./docs/build/* ./docs/
- uses: actions/setup-node@v1
with:
node-version: 12
Expand Down

0 comments on commit 44293ad

Please sign in to comment.