Skip to content

Commit 8507c99

Browse files
committed
add cert chain
1 parent 4454dff commit 8507c99

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/check-standard.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,18 @@ jobs:
3434
run: |
3535
# Download or access the certificate
3636
echo "${{ secrets.WEBSITE_CERT }}" > website_cert.pem
37+
echo "${{ secrets.CERT_CHAIN }}" > website_cert_chain.pem
3738
3839
# Add the certificate to the system's trusted certificates
3940
sudo cp website_cert.pem /usr/local/share/ca-certificates/website_cert.crt
41+
sudo cp website_cert_chain.pem /usr/local/share/ca-certificates/website_cert_chain.crt
4042
sudo update-ca-certificates
4143

4244
# Verify the certificate is trusted
4345
openssl verify /usr/local/share/ca-certificates/website_cert.crt
44-
46+
openssl verify /usr/local/share/ca-certificates/website_cert_chain.crt
47+
shell: bash
48+
4549
- uses: actions/checkout@v3
4650

4751
- uses: r-lib/actions/setup-pandoc@v2

0 commit comments

Comments
 (0)