Skip to content

Commit

Permalink
Test workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
wsalesky committed Aug 22, 2023
1 parent 393af3b commit f68dcac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/git-sync_template.xql
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ return
githubxq:execute-webhook($data,
'/db/apps/tcadrt',
'https://github.com/VandyVRC/srophe-eXist-app',
'master',
'main',
'${SECRET_KEY}',
'')
18 changes: 13 additions & 5 deletions build/workflow.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
GITHUB_ORG="VandyVRC"
GITHUB_REPOSITORY="tcadrt"

rm -rf autodeploy
# create an autodeploy folder
mkdir autodeploy

echo "Running app build ..."
ant
echo "Ran app build successfully"

echo "Fetching the data repository to build a data xar"
git clone https://github.com/$GITHUB_ORG/$GITHUB_REPOSITORY

Expand All @@ -13,13 +21,13 @@ echo "Ran data build successfully"

cd ..
# remove any old auto deploy
rm -rf autodeploy
#rm -rf autodeploy
# create an autodeploy folder
mkdir autodeploy
#mkdir autodeploy

echo "Running app build ..."
ant
echo "Ran app build successfully"
#echo "Running app build ..."
#ant
#echo "Ran app build successfully"


# move the xar from build to autodeploy
Expand Down

0 comments on commit f68dcac

Please sign in to comment.