Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit dfecd73

Browse files
Merge pull request #48 from Daespen/feature/docfxworkflow
Feature/docfxworkflow
2 parents 4db907d + 13ac472 commit dfecd73

2 files changed

Lines changed: 37 additions & 2 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This workflow will build and publish documentation with docfx
2+
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
3+
4+
name: Documentation Publish
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build_docs:
13+
runs-on: ubuntu-latest
14+
name: Build and publish documentation
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v1
18+
19+
- name: Build docfx
20+
uses: nikeee/docfx-action@v1.0.0
21+
with:
22+
args: docs/docfx.json
23+
24+
- name: Publish
25+
uses: peaceiris/actions-gh-pages@v3
26+
with:
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
publish_dir: docs/_site
29+
force_orphan: true

docs/articles/development_workflow.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
We develop with Github using pull requests (see this [Github guide](https://guides.github.com/introduction/flow/) for a short introduction).
44

5-
**Development branch.** The development branch is always `master`. Expect changes on this branch from time to time.
5+
**Development branch.** The development branch is always `development`. Expect changes on this branch from time to time.
66

7-
**Releases.** The releases mark the development milestones on the `master` branch with a certain feature completeness.
7+
**Releases.** The releases mark the development milestones on the `main` branch with a certain feature completeness.
88

99
## Pull Requests
1010

@@ -18,6 +18,12 @@ Otherwise, if you are a non-member contributor, fork the repository and create t
1818

1919
**Reviews.** Each PullRequest is reviewed by the Maintainers of the project. In order to simplify the workflow, please assign the PullRequest directly to the Maintainer you think is most knowledgable about your changes.
2020

21+
## CI Workflows
22+
There are three workflows that will automatically handle specific events for the repository:
23+
- Pull requests on one of the branches mentioned above will trigger CI actions that will automatically check, if all tests pass successfully
24+
- Additionally, new commits on `main` will build the release artifacts and publish them on [Maven Central](https://mvnrepository.com/artifact/io.admin-shell.aas)
25+
- The documentation found in /docs is automatically build with docFX and published to gh-pages, when a new release is pushed to the `main` branch
26+
2127
## Commit Messages
2228

2329
The commit messages should follow the guidelines from https://chris.beams.io/posts/git-commit:

0 commit comments

Comments
 (0)