-
Notifications
You must be signed in to change notification settings - Fork 223
39 lines (36 loc) · 916 Bytes
/
docs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Docs
on:
pull_request:
types: [opened, reopened, edited, synchronize]
paths:
- .github/workflows/docs.yaml
- bolt.gemspec
- Gemfile
- Puppetfile
- bolt-modules/**
- documentation/**
- lib/bolt/**
- modules/**
- pwsh_module/**
- rakelib/docs.rake
jobs:
docs:
name: Docs
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Update gems
run: bundle update
- name: Generate docs
run: bundle exec rake docs:all
- name: Run DITA
uses: dita-ot/dita-ot-action@master
with:
dita-ot-version: 4.1.2
build: dita -i documentation/bolt.ditamap -o out -f html5 --processing-mode=strict