diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml new file mode 100644 index 0000000..638bf27 --- /dev/null +++ b/.github/workflows/lint-test.yaml @@ -0,0 +1,25 @@ +name: lint-test + +on: + push: + pull_request: + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: lint-test-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + lint-test: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + + - name: lint + run: make lint + + - name: test + run: make test diff --git a/README.md b/README.md index f142aec..baa0e31 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ sitectl converge Publish a domain, switch HTTP/TLS mode, configure Let's Encrypt, trust upstream proxies, or tune upload limits with the `ingress` component: ```bash -sitectl set ingress enabled --mode https-default --domain ojs.localhost +sitectl set ingress enabled --mode https-custom --domain ojs.localhost sitectl set ingress enabled --mode https-letsencrypt --domain ojs.example.org --acme-email ops@example.org sitectl set ingress enabled --trusted-ip 203.0.113.10/32 --max-upload-size 2G --upload-timeout 10m sitectl converge