+4
-4
.forgejo/workflows/ci.yaml
+4
-4
.forgejo/workflows/ci.yaml
···
19
19
apt-get -y install buildah ca-certificates nodejs
20
20
- name: Check out source code
21
21
uses: https://code.forgejo.org/actions/checkout@v5
22
-
- if: ${{ forge.repository == 'whitequark/git-pages' && 'true' || 'false' }}
22
+
- if: ${{ forge.repository == 'git-pages/git-pages' && 'true' || 'false' }}
23
23
name: Log into container registry
24
24
run: |
25
25
buildah login --authfile=/tmp/authfile.json \
26
-
-u whitequark -p ${{ secrets.PACKAGES_TOKEN }} codeberg.org
26
+
-u git-pages-bot -p ${{ secrets.PACKAGES_TOKEN }} codeberg.org
27
27
- name: Build container
28
28
uses: https://codeberg.org/actions/buildah-simple@main
29
29
with:
30
30
context: .
31
-
tag: "codeberg.org/whitequark/git-pages:latest"
32
-
push: ${{ forge.repository == 'whitequark/git-pages' && 'true' || 'false' }}
31
+
tag: "codeberg.org/git-pages/git-pages:latest"
32
+
push: ${{ forge.repository == 'git-pages/git-pages' && 'true' || 'false' }}
33
33
authfile: /tmp/authfile.json
+1
LICENSE-0BSD.txt
+1
LICENSE-0BSD.txt
+4
-4
README.md
+4
-4
README.md
···
26
26
To publish a site, run the following commands:
27
27
28
28
```console
29
-
$ curl http://localhost:3000/ -X PUT --data https://codeberg.org/whitequark/git-pages.git
29
+
$ curl http://localhost:3000/ -X PUT --data https://codeberg.org/git-pages/git-pages.git
30
30
b70644b523c4aaf4efd206a588087a1d406cb047
31
31
```
32
32
···
43
43
```console
44
44
$ docker run -u $(id -u):$(id -g)--mount type=bind,src=$(pwd)/data,dst=/app/data \
45
45
-p 3000:3000 \
46
-
codeberg.org/whitequark/git-pages:latest
46
+
codeberg.org/git-pages/git-pages:latest
47
47
```
48
48
49
49
To run _git-pages_ with Caddy and use an S3-compatible endpoint to store site data and TLS key material:
···
51
51
```console
52
52
$ docker run -e S3_ENDPOINT -e S3_REGION -e S3_ACCESS_KEY_ID -e S3_SECRET_ACCESS_KEY -e S3_BUCKET \
53
53
-e ACME_EMAIL -p 80:80 -p 443:443 \
54
-
codeberg.org/whitequark/git-pages:latest supervisord
54
+
codeberg.org/git-pages/git-pages:latest supervisord
55
55
```
56
56
57
57
See also the included [configuration](fly.toml) for [Fly.io](https://fly.io).
···
122
122
Architecture (v1)
123
123
-----------------
124
124
125
-
*This was the original architecture and it is no longer used. Migration to v2 was last available in commit [7e9cd17b](https://codeberg.org/whitequark/git-pages/commit/7e9cd17b70717bea2fe240eb6a784cb206243690).*
125
+
*This was the original architecture and it is no longer used. Migration to v2 was last available in commit [7e9cd17b](https://codeberg.org/git-pages/git-pages/commit/7e9cd17b70717bea2fe240eb6a784cb206243690).*
126
126
127
127
Filesystem is used as the sole mechanism for state storage.
128
128
+1
-1
go.mod
+1
-1
go.mod
+1
-1
src/schema.pb.go
+1
-1
src/schema.pb.go
···
401
401
"\n" +
402
402
"InlineFile\x10\x02\x12\x10\n" +
403
403
"\fExternalFile\x10\x03\x12\v\n" +
404
-
"\aSymlink\x10\x04B\x1fZ\x1dwhitequark.org/git-pages/mainb\beditionsp\xe8\a"
404
+
"\aSymlink\x10\x04B'Z%codeberg.org/git-pages/git-pages/mainb\beditionsp\xe8\a"
405
405
406
406
var (
407
407
file_schema_proto_rawDescOnce sync.Once