]> git.evergreen-ils.org Git - Evergreen.git/blob - .github/workflows/docs.yml
LP1903476 Followup; Remove perl action, limit to docs/
[Evergreen.git] / .github / workflows / docs.yml
1 name: Build Docs
2 on:
3   push:
4     paths:
5       - 'docs/**'
6   pull_request:
7     paths:
8       - 'docs/**'
9 jobs:
10   build_docs:
11     name: Build Docs
12     runs-on: ubuntu-latest
13     steps:
14       - uses: actions/checkout@v2
15       - name: Generate Docs Package
16         run: |
17           cd docs
18           sed -i 's/branches.*/branches: [HEAD]/' site.yml
19           perl generate_docs.pl --base-url http://example.com
20       - uses: actions/upload-artifact@v2
21         with:
22           name: built-docs
23           path: docs/output