This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree 1 file changed +59
-0
lines changed
1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ image : node:latest
2
+
3
+ variables :
4
+ PORT : 3000
5
+ APP_TITLE : " Unternehmen Lüttich: Receiver"
6
+ NODE_ENV : development
7
+
8
+ cache :
9
+ paths :
10
+ - node_modules/
11
+
12
+ stages :
13
+ - build
14
+ - test
15
+ - deploy
16
+
17
+ building :
18
+ script :
19
+ - echo "Building the app"
20
+ - npm i
21
+ stage : build
22
+
23
+ testing :
24
+ script :
25
+ - echo "Running tests"
26
+ - npm i
27
+ - npm test
28
+ stage : test
29
+
30
+ deploy_dev :
31
+ stage : deploy
32
+ script :
33
+ - echo "Deploying the app"
34
+ - apt-get update -qy
35
+ - apt-get install -y rubygems ruby-dev
36
+ - gem install dpl
37
+ - dpl --provider=heroku --app=$HEROKU_DEV_APP --api-key=$HEROKU_DEV_API_KEY
38
+ only :
39
+ - develop
40
+ environment :
41
+ name : dev
42
+ url : $HEROKU_DEV_URL
43
+
44
+ deploy_stage :
45
+ stage : deploy
46
+ script :
47
+ - echo "Deploying the app"
48
+ - apt-get update -qy
49
+ - apt-get install -y rubygems ruby-dev
50
+ - gem install dpl
51
+ - dpl --provider=heroku --app=$HEROKU_STAGING_APP --api-key=$HEROKU_STAGING_API_KEY
52
+ only :
53
+ - master
54
+ environment :
55
+ name : stage
56
+ url : $HEROKU_STAGING_URL
57
+ variables :
58
+ GIT_STRATEGY : fetch
59
+ GIT_SUBMODULE_STRATEGY : recursive
You can’t perform that action at this time.
0 commit comments