fix: load secrets in CI
parent
0ee38903c7
commit
d6c654783a
|
@ -8,3 +8,4 @@ pipeline:
|
|||
- make
|
||||
- ls -lah && find scripts && cat scripts/ci.sh
|
||||
- make ci-deploy
|
||||
secrets: [ pages_deploy_secret, hostea_write_deploy_key]
|
||||
|
|
|
@ -15,11 +15,20 @@
|
|||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
set -Eeuo pipefail
|
||||
source $(pwd)/scripts/lib.sh
|
||||
set -xEeuo pipefail
|
||||
#source $(pwd)/scripts/lib.sh
|
||||
|
||||
readonly SSH_ID_FILE=/tmp/ci-ssh-id
|
||||
|
||||
match_arg() {
|
||||
if [ $1 == $2 ] || [ $1 == $3 ]
|
||||
then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
help() {
|
||||
cat << EOF
|
||||
USAGE: ci.sh [SUBCOMMAND]
|
||||
|
|
Loading…
Reference in New Issue