mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-12 21:38:32 +03:00
only require travis encryption for maintainers
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "Encrypting .env file for Travis..."
|
echo "Encrypting .env file for Travis..."
|
||||||
|
|
||||||
# confirm that user has access to forensic architecture datasheet
|
# confirm that the user has the core repo as origin, and is therefore a maintainer
|
||||||
# if [ ! -z "$(travis repos | grep "forensic-architecture/datasheet-server")" ]
|
if [ -z `git config --get remote.origin.url | grep "forensic-architecture/datasheet-server"` ]; then
|
||||||
# echo "No travis encrypt possible, skipping this step."
|
echo "Travis encryption not required for satellite contributors, continuing.."
|
||||||
# exit 0
|
exit 0
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
# confirm travis is installed
|
# confirm travis is installed
|
||||||
if [ ! hash travis 2>/dev/null ]; then
|
if [ ! hash travis 2>/dev/null ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user