Skip to content

Commit

Permalink
Adding building GitHhub action
Browse files Browse the repository at this point in the history
Signed-off-by: Gergely Csatari <[email protected]>
  • Loading branch information
CsatariGergely committed Jan 9, 2024
1 parent 07c9d56 commit 34e6fa4
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Pull Request Docs Check"
on:
- pull_request

jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install prerequisites
run: |
sudo apt-get --allow-releaseinfo-change update -y && sudo apt-get install -y tox
- name: Building RM in HTML
run: |
cd doc/ref_model
echo "---------------------------------------------------------------------------------------"
echo "---------------------------------- Building RM in HTML --------------------------------"
echo "---------------------------------------------------------------------------------------"
tox -e docs
echo "Building RM in html was successful! "
- name: Store html build result
uses: actions/upload-artifact@v3
with:
name: rm-html
path: |
doc/ref_model/build

0 comments on commit 34e6fa4

Please sign in to comment.