Register and Issue using LEGO #199
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Register and Issue using LEGO | |
on: | |
push: | |
schedule: | |
- cron: "25 6 1/7 * *" | |
jobs: | |
lego-register-and-issue: | |
runs-on: ubuntu-latest | |
env: | |
ACMEDNS_EMAIL: ${{ secrets.ACMEDNS_EMAIL }} | |
steps: | |
- name: Install jq if needed | |
run: jq -V || (apt update && apt install -y jq) | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '>= 1.20' | |
- uses: actions/checkout@v3 | |
- name: Install LEGO | |
run: ./scripts/install-lego.sh | |
- name: Register and Issue certificate | |
run: ${GITHUB_WORKSPACE}/examples/lego/register-and-issue.sh | |