-
Notifications
You must be signed in to change notification settings - Fork 12
49 lines (39 loc) · 1.13 KB
/
docs.yml
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
40
41
42
43
44
45
46
47
48
49
name: Docs
on:
workflow_dispatch:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'
jobs:
unittests:
name: Build Docs
runs-on: ubuntu-latest
steps:
- name: Support longpaths
run: git config --global core.longpaths true
- name: Checkout
uses: actions/checkout@v3
with:
path: sdk
- name: Checkout
uses: actions/checkout@v3
with:
path: doc
ref: gh-pages
- uses: ssciwr/doxygen-install@022351b889a5d2639382a0d55a1834a413ec6a23
with:
version: "1.9.7"
- name: Generate Doxygen Documentation
run: doxygen doxygen_config
shell: bash
working-directory: sdk
env:
PROJECT_NUMBER: ${{ github.ref_name }}
- run: rsync -r --delete ./sdk/build_docs/ ./doc/docs
- uses: stefanzweifel/git-auto-commit-action@v4
with:
repository: doc
commit_message: "Update docs"
commit_user_name: automation-commercetools
commit_user_email: automation@commercetools.com
commit_author: Auto Mation <automation@commercetools.com>