netboot.xyz/script/retrieve_certs
Antony Messerli 3830da6bb2 Switch to using Github Actions
With the recent changes to Travis CI, it seemed
like a good time to begin porting netboot.xyz CI
over to Github Actions to keep everything in on
place.  These are the changes for the main
netboot.xyz repo.
2020-12-06 12:00:14 -06:00

9 lines
236 B
Bash
Executable File

#!/bin/bash
set -e
# retrieve certs
git clone https://$GIT_USER:$GIT_AUTH@$GIT_URL certs
cp certs/certs.tar.enc .
openssl aes-256-cbc -pass pass:$CERTS_KEY -d -salt -pbkdf2 -a -in certs.tar.enc -out certs.tar
tar xf certs.tar -C certs