Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ name: CD
on:
# can be manually triggered
workflow_dispatch:
# automatically triggered by push events on main only
# automatically triggered by push events on main only or with cloudview tags
push:
branches:
- 'main'

tags:
- 'cloudview-*'
jobs:
# build and run the Docker container to validate the model and generate the documentation
# then publish the HTML artifacts to GitHub Pages
Expand All @@ -31,4 +32,5 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: artifacts
destination_dir: ${{ github.REF_NAME }}

3 changes: 0 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,3 @@ capella -nosplash -consoleLog \
# Copy the validation and html output to the ${results_folder}/ that is mapped as a volume
cp -r "/workdir/obc-model/html" ${results_folder}/html_export
cp -r "/workdir/obc-model/validation" ${results_folder}/validation

# Create index.html from stub
sed 's/model-name-to-replace/OBC Model/g' index_stub.html > ${results_folder}/index.html
21 changes: 0 additions & 21 deletions index_stub.html

This file was deleted.

2 changes: 2 additions & 0 deletions obc-model/.user.af
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="ASCII"?>
<vp:Workspace xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:vp="http://www.polarsys.org/kitalpha/ad/viewpoint/1.0.0"/>
Loading