-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (47 loc) · 1.37 KB
/
documentation.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
50
51
52
53
name: Documentation
on:
push:
branches:
- documentation
pull_request:
branches:
- documentation
jobs:
deploy:
name: Deploy Documentation
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/checkout
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Verify directory structure
- name: List directory structure
run: |
ls -la
ls -la website/
# Generate SVG files using PlantUML
- name: plantuml
id: plantuml
uses: grassedge/[email protected]
with:
message: "Render PlantUML files"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# https://github.com/marketplace/actions/docusaurus-builddeploy-action
- name: Deploy Docusaurus
id: deploy
uses: redkubes/[email protected]
with:
source-folder: website
git-user: ${{ github.actor }}
git-password: ${{ secrets.GITHUB_TOKEN }}
deployment-branch: gh-pages
# https://github.com/marketplace/actions/create-an-issue
- name: Create issue on failure
if: failure()
uses: JasonEtco/create-an-issue@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: .github/DOCUMENTATION_ISSUE_TEMPLATE.md