Skip to content

Commit 7057aa7

Browse files
authored
Merge pull request #49 from Expensify/Rory-MakeSSLCertOptional
Make ssl cert optional
2 parents 2c93278 + cf5f1cb commit 7057aa7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup-certificate-1p/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ inputs:
55
OP_SERVICE_ACCOUNT_TOKEN:
66
description: 1Password service account token
77
required: true
8+
SHOULD_LOAD_SSL_CERTIFICATES:
9+
description: Whether the action needs to set up SSL certificates
10+
required: false
11+
default: "true"
812

913
runs:
1014
using: composite
@@ -15,6 +19,7 @@ runs:
1519
OP_SERVICE_ACCOUNT_TOKEN: ${{ inputs.OP_SERVICE_ACCOUNT_TOKEN }}
1620

1721
- name: Update SSL Certificates from 1Password
22+
if: ${{ inputs.SHOULD_LOAD_SSL_CERTIFICATES == 'true' }}
1823
run: |
1924
op document get --output expensify.ca.crt expensify.ca.crt && sudo cp expensify.ca.crt /usr/local/share/ca-certificates/expensify.ca.crt
2025
sudo update-ca-certificates

0 commit comments

Comments
 (0)