Skip to content

Commit 47c470f

Browse files
committed
Forgent env file
1 parent 43b5f9d commit 47c470f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ jobs:
4141
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin docker.pkg.github.com
4242
# pull images
4343
- docker pull docker.pkg.github.com/seluj78/pymatcha/pymatcha-api:latest
44-
# run docker on port 80
45-
# do not forget to add env-file an environment file in Settings/CI CD/Variables
44+
# decrypt the env file
45+
- openssl aes-256-cbc -K $encrypted_3c84dcdc6bbe_key -iv $encrypted_3c84dcdc6bbe_iv -in .env.enc -out .env -d
46+
# Run the backend api
4647
- docker run -d -p 5000:5000 --restart always --env-file .env docker.pkg.github.com/seluj78/pymatcha/pymatcha-api:latest
4748
# Wait for docker to be up
4849
- sleep 10

0 commit comments

Comments
 (0)