add gitlab-ci
This commit is contained in:
+3
-3
@@ -9,7 +9,7 @@ build_backend:
|
|||||||
- ubuntulab01
|
- ubuntulab01
|
||||||
script:
|
script:
|
||||||
- echo "Deploying code to server..."
|
- echo "Deploying code to server..."
|
||||||
- docker build -t my_back .notes-backend/
|
- docker build -t my_back notes-backend/
|
||||||
only:
|
only:
|
||||||
- temasky-sample03
|
- temasky-sample03
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ build_frontend:
|
|||||||
- ubuntulab01
|
- ubuntulab01
|
||||||
script:
|
script:
|
||||||
- echo "Deploying code to server..."
|
- echo "Deploying code to server..."
|
||||||
- docker build -t my_front .notes-app/
|
- docker build -t my_front notes-app/
|
||||||
only:
|
only:
|
||||||
- temasky-sample03
|
- temasky-sample03
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ build_nginx:
|
|||||||
- ubuntulab01
|
- ubuntulab01
|
||||||
script:
|
script:
|
||||||
- echo "Deploying code to server..."
|
- echo "Deploying code to server..."
|
||||||
- docker build -t my_nginx .nginx/
|
- docker build -t my_nginx nginx/
|
||||||
only:
|
only:
|
||||||
- temasky-sample03
|
- temasky-sample03
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user