mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
chore: check generated files (#2582)
This commit is contained in:
parent
08e9db687b
commit
b0e3fd2682
3 changed files with 11 additions and 6 deletions
5
.github/workflows/pr.yml
vendored
5
.github/workflows/pr.yml
vendored
|
|
@ -39,6 +39,11 @@ jobs:
|
|||
git diff --exit-code go.mod
|
||||
git diff --exit-code go.sum
|
||||
|
||||
- name: Generate and Check generated elements
|
||||
run: |
|
||||
make generate-dns
|
||||
git diff --exit-code
|
||||
|
||||
# https://golangci-lint.run/usage/install#other-ci
|
||||
- name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
|
||||
run: |
|
||||
|
|
|
|||
4
cmd/zz_gen_cmd_dnshelp.go
generated
4
cmd/zz_gen_cmd_dnshelp.go
generated
|
|
@ -3495,8 +3495,8 @@ func displayDNSHelp(w io.Writer, name string) error {
|
|||
ew.writeln()
|
||||
|
||||
ew.writeln(`Credentials:`)
|
||||
ew.writeln(` - "ZONEEDIT_PASSWORD": Password`)
|
||||
ew.writeln(` - "ZONEEDIT_USER_ID": User ID`)
|
||||
ew.writeln(` - "ZONEEDIT_AUTH_TOKEN": Authentication token`)
|
||||
ew.writeln(` - "ZONEEDIT_USER": User ID`)
|
||||
ew.writeln()
|
||||
|
||||
ew.writeln(`Additional Configuration:`)
|
||||
|
|
|
|||
8
docs/content/dns/zz_gen_zoneedit.md
generated
8
docs/content/dns/zz_gen_zoneedit.md
generated
|
|
@ -26,8 +26,8 @@ Configuration for [ZoneEdit](https://www.zoneedit.com).
|
|||
Here is an example bash command using the ZoneEdit provider:
|
||||
|
||||
```bash
|
||||
ZONEEDIT_USER_ID="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
ZONEEDIT_PASSWORD="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
ZONEEDIT_USER="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
ZONEEDIT_AUTH_TOKEN="xxxxxxxxxxxxxxxxxxxxx" \
|
||||
lego --email you@example.com --dns zoneedit -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
|
@ -38,8 +38,8 @@ lego --email you@example.com --dns zoneedit -d '*.example.com' -d example.com ru
|
|||
|
||||
| Environment Variable Name | Description |
|
||||
|-----------------------|-------------|
|
||||
| `ZONEEDIT_PASSWORD` | Password |
|
||||
| `ZONEEDIT_USER_ID` | User ID |
|
||||
| `ZONEEDIT_AUTH_TOKEN` | Authentication token |
|
||||
| `ZONEEDIT_USER` | User ID |
|
||||
|
||||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
||||
More information [here]({{% ref "dns#configuration-and-credentials" %}}).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue