Update CI deploy configuration

This commit is contained in:
Thomas Nordquist
2019-01-14 14:06:12 +01:00
parent d4bb00262e
commit ac2387ed9b
5 changed files with 275 additions and 476 deletions

9
package-with-docker.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
docker run --rm -ti \
--env ELECTRON_CACHE="/root/.cache/electron" \
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
--env GH_TOKEN="$GH_TOKEN" \
-v ${PWD}:/project \
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine node_modules/.bin/ts-node package.ts $@