This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: test
|
branch: deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
commands:
|
commands:
|
||||||
- docker build -t test .
|
- docker build -t aboba .
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
commands:
|
commands:
|
||||||
|
- echo "$ENV_FILE" > .env
|
||||||
- sh run.sh
|
- sh run.sh
|
||||||
@@ -35,7 +35,7 @@ services:
|
|||||||
|
|
||||||
networks:
|
networks:
|
||||||
bot_network:
|
bot_network:
|
||||||
driver: overlay
|
driver: bridge
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
Reference in New Issue
Block a user