mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-11 12:58:32 +03:00
refactor to scripts
This commit is contained in:
2
scripts/decrypt.sh
Normal file
2
scripts/decrypt.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
openssl aes-256-cbc -K $encrypted_4f23b46f1ec6_key -iv $encrypted_4f23b46f1ec6_iv -in .env.enc -out .env -d
|
||||
6
scripts/encrypt.sh
Normal file
6
scripts/encrypt.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
yarn test
|
||||
yarn lint
|
||||
travis encrypt-file .env --add --force
|
||||
git add .env.enc
|
||||
git commit -m "add encrypted private key for travis testing"
|
||||
Reference in New Issue
Block a user