File tree Expand file tree Collapse file tree 2 files changed +29
-15
lines changed Expand file tree Collapse file tree 2 files changed +29
-15
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Import
2
+
3
+ # Controls when the action will run. Workflow runs when manually triggered using the UI
4
+ # or API.
5
+ on : workflow_dispatch
6
+
7
+ jobs :
8
+ qa-clear :
9
+ name : Clear on QA
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout repo
14
+ uses : actions/checkout@v3
15
+ - name : Clear fhir_imports org
16
+ run : docker run openconceptlab/oclapi2:qa --rm api python tools/import.py -t https://fhir.qa.openconceptlab.org/orgs/fhir_imports -s ${{ secrets.OCLAPI_TOKEN }} -c https://api.qa.openconceptlab.org/orgs/fhir_imports
17
+
18
+ qa-import :
19
+ needs : [qa-clear]
20
+ name : Import on QA
21
+ runs-on : ubuntu-latest
22
+ environment : qa-import
23
+
24
+ steps :
25
+ - name : Checkout repo
26
+ uses : actions/checkout@v3
27
+ - name : Import into fhir_imports org
28
+ run : docker run openconceptlab/oclapi2:qa --rm -v $(pwd):/fhir api python tools/import.py -f /fhir -t https://fhir.qa.openconceptlab.org/orgs/fhir_imports -s ${{ secrets.OCLAPI_TOKEN }} -c https://api.qa.openconceptlab.org/orgs/fhir_imports
29
+
You can’t perform that action at this time.
0 commit comments