Skip to content

Commit df5f481

Browse files
author
Aurela Shehu
committed
added documentation.yml as a trigerring action for testing purposes
until workflow is ready. also added first real git command
1 parent eea2f3a commit df5f481

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/documentation.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
paths:
1111
# Specify the file path to the ontology
1212
- 'MathModDB_full.owl'
13+
# TODO: the following line added for testing purposes, remove it when the workflow is working
14+
- '.github/workflows/documentation.yml'
1315

1416
# Allows you to run this workflow manually from the Actions tab
1517
workflow_dispatch:
@@ -25,6 +27,9 @@ jobs:
2527
steps:
2628
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2729
- uses: actions/checkout@v4
30+
with:
31+
ref: docstable
32+
2833

2934
- name: Set up Python environment
3035
uses: actions/setup-python@v4
@@ -35,6 +40,10 @@ jobs:
3540
- name: Run a one-line script
3641
run: echo Hello, world!
3742

43+
- name: Checkout owl file from main
44+
run: git checkout main MathModDB_full.owl
45+
46+
3847
# Runs a set of commands using the runners shell
3948
- name: Run a multi-line script
4049
run: |

0 commit comments

Comments
 (0)