fix: metrics deploy script (#32074)

fix: cert path
This commit is contained in:
Yihau Chen 2023-06-12 22:15:09 +08:00 committed by GitHub
parent a52ca5d38e
commit 021d2cdb71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ mkdir -p "$here/certs"
chmod 700 "$here/certs" chmod 700 "$here/certs"
sudo cp /etc/letsencrypt/live/"$HOST"/fullchain.pem "$here/certs/" sudo cp /etc/letsencrypt/live/"$HOST"/fullchain.pem "$here/certs/"
sudo cp /etc/letsencrypt/live/"$HOST"/privkey.pem "$here/certs/" sudo cp /etc/letsencrypt/live/"$HOST"/privkey.pem "$here/certs/"
sudo chmod 0444 "$here/certs/*" sudo chmod 0444 "$here"/certs/*
sudo chown buildkite-agent:buildkite-agent "$here/certs" sudo chown buildkite-agent:buildkite-agent "$here"/certs
here_pwd="$(realpath "$here")" here_pwd="$(realpath "$here")"