Skip to content

Update Let's Encrypt certificate #11

Update Let's Encrypt certificate

Update Let's Encrypt certificate #11

name: Update Let's Encrypt certificate
on:
workflow_dispatch:
schedule:
- cron: '0 0 1 * *'
jobs:
update_certificate:
runs-on: ubuntu-latest
name: Update Let's Encrypt certificate
steps:
- name: Checkout to certificates
uses: actions/checkout@v3
with:
repository: hazelcast/private-test-artifacts
path: certs
ref: data
token: ${{ secrets.GH_TOKEN }}
- name: Extract the certificate
working-directory: certs
run: |
unzip certs.jar
- name: Checkout to client
uses: actions/checkout@v3
with:
repository: hazelcast/hazelcast-python-client
path: client
ref: master
- name: Copy updated certificate
run: |
cp $GITHUB_WORKSPACE/certs/com/hazelcast/nio/ssl/letsencrypt.jks $GITHUB_WORKSPACE/client/tests/integration/backward_compatible/ssl_tests/keystore.jks
- name: Commit changes
working-directory: client
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions"
git add tests/integration/backward_compatible/ssl_tests/keystore.jks
git commit -m "Update Let's Encrypt Certificate"
git push