-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzerops.yml
29 lines (29 loc) · 1.28 KB
/
zerops.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
zerops:
- setup: app
build:
base: [email protected]
prepareCommands:
- sudo apt-get update -y
- sudo apt-get install default-jdk -y
- sudo apt-get install scala -y
- echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
- echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
- curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x99E82A75642AC823" | sudo apt-key add
- sudo apt-get update -y
- sudo apt-get install sbt -y
deployFiles: /
run:
base: [email protected]
prepareCommands:
- sudo apt-get update -y
- sudo apt-get install default-jdk -y
- sudo apt-get install scala -y
- echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
- echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
- curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x99E82A75642AC823" | sudo apt-key add
- sudo apt-get update -y
- sudo apt-get install sbt -y
ports:
- port: 9000
httpSupport: true
start: sbt run