Skip to content

Commit 458c5e0

Browse files
committed
feat: CI workflow, JetBrains Mono font, footer, CI badge, punchier hero title
1 parent 02c55b8 commit 458c5e0

3 files changed

Lines changed: 68 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [stable, dev]
6+
pull_request:
7+
branches: [stable, dev]
8+
9+
jobs:
10+
build:
11+
name: Build & Vet
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Go
19+
uses: actions/setup-go@v5
20+
with:
21+
go-version-file: go.mod
22+
cache: true
23+
24+
- name: Download dependencies
25+
run: go mod download
26+
27+
- name: Build
28+
run: go build ./...
29+
30+
- name: Vet
31+
run: go vet ./...

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
**A modular Go CLI and library for managing DigitalOcean infrastructure.**
1313

14+
[![CI](https://github.com/franckferman/do-manager/actions/workflows/ci.yml/badge.svg)](https://github.com/franckferman/do-manager/actions/workflows/ci.yml)
1415
[![Go Version](https://img.shields.io/badge/Go-1.23+-00ADD8?style=flat-square&logo=go)](https://go.dev)
1516
[![License](https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square)](LICENSE)
1617
[![DigitalOcean API](https://img.shields.io/badge/API-DigitalOcean_v2-0080ff?style=flat-square&logo=digitalocean)](https://docs.digitalocean.com/reference/api/)

docs/index.html

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
<title>do-manager — DigitalOcean CLI &amp; Go library</title>
77
<meta name="description" content="CLI and Go library for DigitalOcean. Manage Droplets, DNS, VPCs, firewalls, snapshots. Campaign orchestration, IP rotation, firewall presets, cloud-init templates for Red Team ops." />
88

9+
<link rel="preconnect" href="https://fonts.googleapis.com">
10+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11+
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
12+
913
<style>
1014
/* =========================================================== TOKENS */
1115
:root {
@@ -718,6 +722,25 @@
718722
opacity: 1;
719723
transform: none;
720724
}
725+
726+
/* ============================================================== FOOTER */
727+
footer {
728+
border-top: 1px solid var(--border);
729+
padding: 1.5rem 2rem;
730+
display: flex;
731+
justify-content: center;
732+
}
733+
.footer-inner {
734+
display: flex;
735+
align-items: center;
736+
gap: 2rem;
737+
font-size: .8rem;
738+
color: var(--text-dim);
739+
font-family: var(--mono);
740+
}
741+
.footer-inner a { color: var(--text-dim); }
742+
.footer-inner a:hover { color: var(--text-bright); }
743+
.footer-sep { color: var(--border-bright); }
721744
</style>
722745
</head>
723746
<body>
@@ -782,7 +805,7 @@
782805
<div class="hero-kicker">CLI + Go library for DigitalOcean</div>
783806

784807
<h1 class="hero-title">
785-
Manage your<br>DigitalOcean<br><span style="color:var(--blue)">infrastructure.</span>
808+
DigitalOcean infra,<br>from a <span style="color:var(--blue)">single binary.</span>
786809
</h1>
787810

788811
<p class="hero-sub">
@@ -2332,5 +2355,17 @@ <h2>Library Usage</h2>
23322355
setTimeout(runAnimation, 800);
23332356
</script>
23342357

2358+
<footer>
2359+
<div class="footer-inner">
2360+
<span>do-manager v1.0.0</span>
2361+
<span class="footer-sep">|</span>
2362+
<span>by <a href="https://github.com/franckferman" target="_blank" rel="noopener">Franck Ferman</a></span>
2363+
<span class="footer-sep">|</span>
2364+
<a href="https://github.com/franckferman/do-manager" target="_blank" rel="noopener">GitHub</a>
2365+
<span class="footer-sep">|</span>
2366+
<a href="https://github.com/franckferman/do-manager/blob/stable/LICENSE" target="_blank" rel="noopener">AGPL-3.0</a>
2367+
</div>
2368+
</footer>
2369+
23352370
</body>
23362371
</html>

0 commit comments

Comments
 (0)