Compare commits

..

No commits in common. "master" and "dev" have entirely different histories.
master ... dev

4 changed files with 6 additions and 9 deletions

View File

@ -13,7 +13,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Exit if not on master
if: endsWith(github.ref, master) == false
run: exit 1
- name: Setup Quemu
uses: docker/setup-qemu-action@v3

3
.gitignore vendored
View File

@ -1,3 +1,2 @@
/.env
bin/*
/.env2
bin/*

View File

@ -13,5 +13,4 @@ RUN go build -o bin/ddns \
FROM alpine AS runner
COPY --from=builder /app/bin/ddns /usr/bin/
ENTRYPOINT /usr/bin/ddns

View File

@ -227,11 +227,6 @@ func (app *Application) Operation(op string, name, tipo, ipSTR,rID, comment stri
if name == "" {
panic("name cant be empty for op create")
}
if dn == "" {
app.log.Debug("domains available", "domains", app.zoneRecords)
dn = name
}
fmt.Printf("domain name: %s", dn)
rBody = app.GenerateReqBody(dn, tipo, app.publicIP.String(),comment, proxied)
app.Create(*rBody)