This repository was archived by the owner on May 15, 2025. It is now read-only.
Issue cert for an existing domain #226
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: Issue cert for an existing domain | |
| on: | |
| push: | |
| schedule: | |
| - cron: "15 6 1/7 * *" | |
| jobs: | |
| acmesh-issue: | |
| runs-on: ubuntu-latest | |
| env: | |
| ACMEDNS_BASE_URL: "https://api.getlocalcert.net/api/v1/acme-dns-compat" | |
| ACMEDNS_SUBDOMAIN: ${{ vars.ACMEDNS_SUBDOMAIN }} | |
| ACMEDNS_FULLDOMAIN: ${{ vars.ACMEDNS_FULLDOMAIN }} | |
| ACMEDNS_USERNAME: ${{ secrets.ACMEDNS_USERNAME }} | |
| ACMEDNS_PASSWORD: ${{ secrets.ACMEDNS_PASSWORD }} | |
| ACMEDNS_EMAIL: ${{ secrets.ACMEDNS_EMAIL }} | |
| steps: | |
| - name: Install acme.sh | |
| run: curl https://get.acme.sh | sh -s email=${ACMEDNS_EMAIL} --install --force | |
| - name: Issue certificate | |
| run: ~/.acme.sh/acme.sh --issue --debug --dns dns_acmedns -d ${ACMEDNS_FULLDOMAIN} --staging | |