This repository was archived by the owner on May 15, 2025. It is now read-only.
Register and Issue using Caddy #203
This file contains hidden or 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 Caddy | |
| on: | |
| push: | |
| schedule: | |
| - cron: "35 6 1/7 * *" | |
| jobs: | |
| caddy-register-and-issue: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install jq if needed | |
| run: jq -V || (apt update && apt install -y jq) | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v4 | |
| with: | |
| go-version: '>= 1.20' | |
| cache-dependency-path: scripts/go.sum | |
| - name: Install Caddy | |
| run: ${GITHUB_WORKSPACE}/scripts/install-caddy.sh | |
| - name: Register and Issue certificate | |
| run: ${GITHUB_WORKSPACE}/examples/caddy/test.sh | |