Skip to content

Commit

Permalink
Updates for new workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
wsalesky committed Jun 26, 2023
1 parent 96935c8 commit cc7f7a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/git-sync_template.xql
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import module namespace githubxq="http://exist-db.org/lib/githubxq";
let $data := request:get-data()
return
githubxq:execute-webhook($data,
'/db/apps/caesarea',
'https://github.com/srophe/caesarea',
'/db/apps/bethqatraye',
'https://github.com/srophe/bethqatraye',
'main',
'${SECRET_KEY}',
'')
2 changes: 1 addition & 1 deletion build/workflow.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GITHUB_ORG="srophe"
GITHUB_REPOSITORY="caesarea-data"
GITHUB_REPOSITORY="bethqatraye-data"

echo "Fetching the data repository to build a data xar"
git clone https://github.com/$GITHUB_ORG/$GITHUB_REPOSITORY
Expand Down
4 changes: 2 additions & 2 deletions conf/controller-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
++ attribute.
-->

<root pattern="/apps/caesarea/apps" path="xmldb:exist:///db/apps/"/>
<root pattern=".*" path="xmldb:exist:///db/apps/caesarea"/>
<root pattern="/apps/bethqatraye/apps" path="xmldb:exist:///db/apps/"/>
<root pattern=".*" path="xmldb:exist:///db/apps/bethqatraye"/>

<!--
<root server-name="site1.example.com" pattern="/*" path="xmldb:exist:///db/org/site1/"/>
Expand Down

0 comments on commit cc7f7a7

Please sign in to comment.