fix travis decrypt logic

This commit is contained in:
Lachlan Kermode
2018-12-14 18:43:55 +00:00
parent 837139eb78
commit 3388d18eb3
3 changed files with 4 additions and 3 deletions

View File

@@ -14,3 +14,6 @@ script:
- yarn build
- yarn lint
- yarn test
before_install:
- openssl aes-256-cbc -K $encrypted_eeb74e8d35d1_key -iv $encrypted_eeb74e8d35d1_iv
-in .env.enc -out .env -d

View File

@@ -1,2 +0,0 @@
#!/bin/bash
openssl aes-256-cbc -K $encrypted_4f23b46f1ec6_key -iv $encrypted_4f23b46f1ec6_iv -in .env.enc -out .env -d

View File

@@ -1,4 +1,4 @@
#!/bin/bash
travis encrypt-file .env --force
travis encrypt-file .env --add --force
git add .env.enc
git commit -m "TRAVIS: add encrypted key"