From bb34f4b04636ede5ed9fdcb547f0c0aa10cc929c Mon Sep 17 00:00:00 2001 From: seanseannery Date: Sat, 7 Mar 2026 01:43:27 -0800 Subject: [PATCH 1/6] docs(site): add feature cards, flags table styling, and copy buttons Add Team Standardisation and Secrets-Safe feature cards; style flags table with Solarized cyan headers and left-aligned cells. --- docs/site/index.html | 12 +++++++++++- docs/site/style.css | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/docs/site/index.html b/docs/site/index.html index 532f483..74cc986 100644 --- a/docs/site/index.html +++ b/docs/site/index.html @@ -121,7 +121,7 @@

Step 2: Run ops commands

$ ops [flags] <environment> <command> [args] - +
@@ -173,6 +173,16 @@

Why use it?

Encapsulation

Keep your Makefile focused on CI/CD

+
+
๐Ÿค
+
Team Standardisation
+

No more tribal knowledge or Slack threads of bash one-liners. Opsfile lives in the repo โ€” every teammate runs the same command, the same way, every time.

+
+
+
๐Ÿ”’
+
Secrets-Safe by Design
+

Reference secrets via environment variables โ€” never commit credentials. Variables resolve from your shell at runtime, keeping sensitive values out of your repo.

+
diff --git a/docs/site/style.css b/docs/site/style.css index 01e0712..ce30d2b 100644 --- a/docs/site/style.css +++ b/docs/site/style.css @@ -373,6 +373,44 @@ pre > code { user-select: none; } +/* โ”€โ”€โ”€ Flags Table โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */ +.flags-table { + width: 100%; + border-collapse: collapse; + margin: 20px 0; + font-size: 0.9rem; +} + +.flags-table th { + background: var(--bg); + color: var(--cyan); + text-align: left; + padding: 10px 14px; + border-bottom: 2px solid var(--cyan); + font-family: monospace; + font-weight: bold; +} + +.flags-table td { + padding: 10px 14px; + border-bottom: 1px solid var(--subtle); + vertical-align: top; + color: var(--body); +} + +.flags-table tr:last-child td { + border-bottom: none; +} + +.flags-table tr:hover td { + background: var(--bg); +} + +.flags-table td code { + color: var(--orange); + font-family: monospace; +} + /* โ”€โ”€โ”€ Usage Section โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */ #usage, .usage-section { From aa2209af827f180412841edbbd0e5dd52c3978e0 Mon Sep 17 00:00:00 2001 From: seanseannery Date: Sat, 7 Mar 2026 01:45:11 -0800 Subject: [PATCH 2/6] docs(site): fix Opsfile example with accurate AWS CLI commands --- docs/site/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/site/index.html b/docs/site/index.html index 74cc986..a6a0afb 100644 --- a/docs/site/index.html +++ b/docs/site/index.html @@ -99,15 +99,15 @@

Step 1: Create an Opsfile

# Use "default" as a fallback when env-specific block is absent tail-logs: default: - aws cloudwatch logs --tail $(AWS_ACCOUNT) + aws logs tail /aws/ecs/my-service --follow --since 30m local: - docker logs myapp --follow + docker logs myapp --follow --tail 100 list-instance-ips: prod: - aws ec2 --list-instances + aws ec2 describe-instances --filters "Name=tag:Env,Values=prod" --query "Reservations[*].Instances[*].PrivateIpAddress" --output text preprod: - aws ecs cluster --list-instances + aws ecs list-container-instances --cluster my-cluster-preprod --output text # Shell env vars are injected automatically โ€” ops falls back to env if not in Opsfile show-profile: From 154fa899614451b5f35e156ed4c56e66fb7d9098 Mon Sep 17 00:00:00 2001 From: seanseannery Date: Sat, 7 Mar 2026 01:48:51 -0800 Subject: [PATCH 3/6] docs(site): add GitHub Discussions link to links section --- docs/site/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/site/index.html b/docs/site/index.html index a6a0afb..45ba56e 100644 --- a/docs/site/index.html +++ b/docs/site/index.html @@ -204,6 +204,10 @@

Links

Issues Bug reports and feature requests + + Discussions + Questions, ideas, and community + From c326104e62ee956b2a82bec78aea59287b7174be Mon Sep 17 00:00:00 2001 From: seanseannery Date: Sat, 7 Mar 2026 01:50:53 -0800 Subject: [PATCH 4/6] docs(site): update copyright year to 2026 --- docs/site/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/site/index.html b/docs/site/index.html index 45ba56e..72a71ea 100644 --- a/docs/site/index.html +++ b/docs/site/index.html @@ -215,7 +215,7 @@

Links

-

ยฉ 2025 opsfile ยท MIT License ยท GitHub

+

ยฉ 2026 opsfile ยท MIT License ยท GitHub

From 935a7a1f79ce3680bfc61f7d148619b515e9a993 Mon Sep 17 00:00:00 2001 From: seanseannery Date: Sat, 7 Mar 2026 01:52:47 -0800 Subject: [PATCH 5/6] docs(site): update copyright holder to seanseannery --- docs/site/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/site/index.html b/docs/site/index.html index 72a71ea..32d3b72 100644 --- a/docs/site/index.html +++ b/docs/site/index.html @@ -215,7 +215,7 @@

Links

-

ยฉ 2026 opsfile ยท MIT License ยท GitHub

+

ยฉ 2026 seanseannery ยท MIT License ยท GitHub

From 699860ed01a97e0feff61bb9c18f5369a2fd8968 Mon Sep 17 00:00:00 2001 From: seanseannery Date: Sat, 7 Mar 2026 01:57:47 -0800 Subject: [PATCH 6/6] docs: serve install.sh via GitHub Pages for shorter curl URL --- .github/workflows/pages.yml | 2 ++ README.md | 2 +- docs/site/index.html | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index c5b20d2..fbf01aa 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -25,6 +25,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/configure-pages@v5 + - name: Copy install script into site + run: cp install/install.sh docs/site/install.sh - uses: actions/upload-pages-artifact@v3 with: path: docs/site/ diff --git a/README.md b/README.md index a9faf77..c3ea0c8 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ ### curl (MacOS / Linux) ```bash - curl -fsSL https://raw.githubusercontent.com/seanseannery/opsfile/main/install/install.sh | bash + curl -fsSL https://seanseannery.github.io/opsfile/install.sh | bash ``` Detects your OS, downloads the correct binary from the [latest GitHub release](https://github.com/seanseannery/opsfile/releases/latest), and installs to `/usr/local/bin/ops`. diff --git a/docs/site/index.html b/docs/site/index.html index 32d3b72..4ee6ea2 100644 --- a/docs/site/index.html +++ b/docs/site/index.html @@ -69,7 +69,7 @@

Installation

-
curl -fsSL https://raw.githubusercontent.com/seanseannery/opsfile/main/install/install.sh | bash
+
curl -fsSL https://seanseannery.github.io/opsfile/install.sh | bash
Flag