Skip to content

Commit 512b7f9

Browse files
committed
add CI/CD stuff and docs placeholder
1 parent b875e51 commit 512b7f9

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ jobs:
5555
- name: Upload arm64 build artifacts
5656
uses: actions/upload-artifact@v4
5757
with:
58-
name: CalendarAPI-linux-arm64
59-
path: src/dist/CalendarAPI_linux_arm64_v8.0/calendarapi
58+
name: StaticPages-linux-arm64
59+
path: src/dist/StaticPages_linux_arm64_v8.0/staticpages
6060
if-no-files-found: error
6161

6262
- name: Upload amd64 build artifacts
6363
uses: actions/upload-artifact@v4
6464
with:
65-
name: CalendarAPI-linux-amd64
66-
path: src/dist/CalendarAPI_linux_amd64_v1/calendarapi
65+
name: StaticPages-linux-amd64
66+
path: src/dist/StaticPages_linux_amd64_v1/staticpages
6767
if-no-files-found: error
6868

6969
docker-build:
@@ -116,11 +116,11 @@ jobs:
116116
- name: Pull in platform artifact
117117
uses: actions/download-artifact@v4
118118
with:
119-
name: CalendarAPI-linux-${{ matrix.arch }}
119+
name: StaticPages-linux-${{ matrix.arch }}
120120

121121
- name: mark artifact as executable
122122
run: |
123-
chmod +x calendarapi
123+
chmod +x staticpages
124124
125125
- name: Build and push by digest
126126
id: build
@@ -129,7 +129,7 @@ jobs:
129129
context: .
130130
platforms: ${{ matrix.platform }}
131131
labels: ${{ steps.meta.outputs.labels }}
132-
outputs: type=image,name=${{ env.FULL_IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true,annotation-index.org.opencontainers.image.description=CalendarAPI is a service that parses iCal files and exposes their content via gRPC or a REST API.
132+
outputs: type=image,name=${{ env.FULL_IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true,annotation-index.org.opencontainers.image.description=StaticPages is a simple server implementation to host your static pages with support for preview URLs.
133133

134134
- name: Export digest
135135
run: |

src/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ module github.com/SpechtLabs/StaticPages
33
go 1.24.0
44

55
require (
6+
github.com/fsnotify/fsnotify v1.8.0
67
github.com/gin-gonic/gin v1.10.0
8+
github.com/sierrasoftworks/humane-errors-go v0.0.0-20241125132722-d032d7dd359e
79
github.com/spf13/cobra v1.9.1
810
github.com/spf13/viper v1.20.1
911
github.com/uptrace/opentelemetry-go-extra/otelzap v0.3.2
@@ -15,7 +17,6 @@ require (
1517
github.com/bytedance/sonic/loader v0.1.1 // indirect
1618
github.com/cloudwego/base64x v0.1.4 // indirect
1719
github.com/cloudwego/iasm v0.2.0 // indirect
18-
github.com/fsnotify/fsnotify v1.8.0 // indirect
1920
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
2021
github.com/gin-contrib/sse v0.1.0 // indirect
2122
github.com/go-logr/logr v1.4.2 // indirect
@@ -34,7 +35,6 @@ require (
3435
github.com/modern-go/reflect2 v1.0.2 // indirect
3536
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
3637
github.com/sagikazarmark/locafero v0.7.0 // indirect
37-
github.com/sierrasoftworks/humane-errors-go v0.0.0-20241125132722-d032d7dd359e // indirect
3838
github.com/sourcegraph/conc v0.3.0 // indirect
3939
github.com/spf13/afero v1.12.0 // indirect
4040
github.com/spf13/cast v1.7.1 // indirect

0 commit comments

Comments
 (0)