Compare commits
2 Commits
f264bd5604
...
183e77ea61
Author | SHA1 | Date | |
---|---|---|---|
183e77ea61 | |||
3af531fdcc |
@ -1,11 +1,20 @@
|
|||||||
|
x-anchors:
|
||||||
|
golang_filter: &golang_filter
|
||||||
|
- path:
|
||||||
|
include: [ "**/*.go" ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build:
|
build:
|
||||||
image: "golang:1.21.5-alpine"
|
image: "golang:1.21.5-alpine"
|
||||||
commands:
|
commands:
|
||||||
- go build ./cmd/rio
|
- go build ./cmd/rio
|
||||||
- go test $(go list ./... | grep -v /vendor/)
|
- go test $(go list ./... | grep -v /vendor/)
|
||||||
|
when:
|
||||||
|
- <<: *golang_filter
|
||||||
lint:
|
lint:
|
||||||
image: "golang:1.21.5-alpine"
|
image: "golang:1.21.5-alpine"
|
||||||
commands:
|
commands:
|
||||||
- go fmt $(go list ./... | grep -v /vendor/)
|
- go fmt $(go list ./... | grep -v /vendor/)
|
||||||
- go vet $(go list ./... | grep -v /vendor/)
|
- go vet $(go list ./... | grep -v /vendor/)
|
||||||
|
when:
|
||||||
|
- <<: *golang_filter
|
12
README.md
12
README.md
@ -72,6 +72,18 @@ _acme-challenge.cooldomain.rio. 3600 IN CNAME cooldomain.rio.pages.example
|
|||||||
This additionally requires your repository to have a file named `CNAME` that contains
|
This additionally requires your repository to have a file named `CNAME` that contains
|
||||||
the domain to use (`cooldomain.rio` in this case).
|
the domain to use (`cooldomain.rio` in this case).
|
||||||
|
|
||||||
|
### Alternate CNAME Domains
|
||||||
|
|
||||||
|
If there is a situation where you want to use a CNAME redirect on a (sub-) domain,
|
||||||
|
where having a CNAME is not feasible, you can configure an "alternate CNAME".
|
||||||
|
This is a special TXT record that contains the "CNAME" you want to specify.
|
||||||
|
|
||||||
|
```
|
||||||
|
; Example for Bind
|
||||||
|
cooldomain.rio. 3600 IN A <IPv4 of rio>
|
||||||
|
_rio-cname.cooldomain.rio. 3600 IN TXT "cname=user.pages.example.org"
|
||||||
|
```
|
||||||
|
|
||||||
### Repository Redirects
|
### Repository Redirects
|
||||||
|
|
||||||
If you have multiple repositories with pages (and you use a CNAME), you can additionally
|
If you have multiple repositories with pages (and you use a CNAME), you can additionally
|
||||||
|
Loading…
Reference in New Issue
Block a user