-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5bc353a
commit b215106
Showing
4 changed files
with
70 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: weekly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ empty_or_create () | |
PLAYGROUND=$(mktemp -d -t kappaXXXX) | ||
git clone --depth 10 --quiet -b master [email protected]:Kappa-Dev/Kappa-Dev.github.io.git ${PLAYGROUND} | ||
case $1 in | ||
native ) | ||
doc ) | ||
empty_or_create ${PLAYGROUND}/docs/KaSim-manual-${TRAVIS_BRANCH} | ||
cp man/*.htm man/*.css ${PLAYGROUND}/docs/KaSim-manual-${TRAVIS_BRANCH}/ | ||
cp man/KaSim_manual.pdf ${PLAYGROUND}/docs/KaSim-manual-${TRAVIS_BRANCH}.pdf | ||
|
@@ -29,7 +29,7 @@ case $1 in | |
scp -r \ | ||
${PLAYGROUND}/docs [email protected]:/var/www/tools.kappalanguage.org/ | ||
;; | ||
js ) | ||
online-ui ) | ||
empty_or_create ${PLAYGROUND}/try | ||
cp site/* ${PLAYGROUND}/try/ | ||
sed '/<\/head>/i \ | ||
|
@@ -51,31 +51,33 @@ case $1 in | |
' site/index.html > ${PLAYGROUND}/try/index.html | ||
scp -o UserKnownHostsFile=dev/deploy_hosts -i dev/travis-deploy -r \ | ||
${PLAYGROUND}/try [email protected]:/var/www/tools.kappalanguage.org/ | ||
|
||
# Upload /viz interface alongside /try | ||
empty_or_create ${PLAYGROUND}/viz | ||
cp viz/* ${PLAYGROUND}/viz/ | ||
scp -o UserKnownHostsFile=dev/deploy_hosts -i dev/travis-deploy -r \ | ||
${PLAYGROUND}/viz [email protected]:/var/www/tools.kappalanguage.org/ | ||
;; | ||
linux ) | ||
[ -d ${PLAYGROUND}/binaries ] || mkdir ${PLAYGROUND}/binaries | ||
cp Kappapp.tar.gz ${PLAYGROUND}/binaries/ | ||
scp ${PLAYGROUND}/binaries/Kappapp.tar.gz \ | ||
cp Kappapp.tar.gz ${PLAYGROUND}/binaries/Kappapp_linux.tar.gz | ||
scp ${PLAYGROUND}/binaries/Kappapp_linux.tar.gz \ | ||
[email protected]:/var/www/tools.kappalanguage.org/nightly-builds/ | ||
;; | ||
python ) | ||
;; | ||
'' ) | ||
;; | ||
windows ) | ||
[ -d ${PLAYGROUND}/binaries ] || mkdir ${PLAYGROUND}/binaries | ||
cp KappaBin.zip ${PLAYGROUND}/binaries/ | ||
scp ${PLAYGROUND}/binaries/KappaBin.zip \ | ||
cp KappappWin.zip ${PLAYGROUND}/binaries/Kappapp_windows.zip | ||
scp ${PLAYGROUND}/binaries/Kappapp_windows.zip \ | ||
[email protected]:/var/www/tools.kappalanguage.org/nightly-builds/ | ||
;; | ||
MacOS ) | ||
macos ) | ||
[ -d ${PLAYGROUND}/binaries ] || mkdir ${PLAYGROUND}/binaries | ||
cp Kappapp.app.zip ${PLAYGROUND}/binaries/ | ||
scp ${PLAYGROUND}/binaries/Kappapp.app.zip \ | ||
cp Kappapp.app.zip ${PLAYGROUND}/binaries/Kappapp_macos10.15.app.zip | ||
scp ${PLAYGROUND}/binaries/Kappapp_macos10.15.app.zip \ | ||
[email protected]:/var/www/tools.kappalanguage.org/nightly-builds/ | ||
;; | ||
'' ) | ||
;; | ||
esac | ||
COMMITNAME=$(git show --pretty=oneline -s --no-color) | ||
cd ${PLAYGROUND} | ||
|