No description
Find a file
kekskurse 58386b0699
All checks were successful
continuous-integration/drone/push Build is passing
Stuff
2022-12-06 12:53:19 +01:00
.idea Init 2022-10-14 14:30:40 +02:00
cmd/gitea-page Stuff 2022-12-06 12:22:24 +01:00
data Stuff 2022-12-06 12:44:00 +01:00
internal Stuff 2022-12-05 18:40:44 +01:00
scripts Stuff 2022-12-06 12:53:19 +01:00
vendor Init 2022-10-14 14:30:40 +02:00
.drone.yml Init 2022-10-14 14:30:40 +02:00
.gitignore Stuff 2022-12-06 12:22:24 +01:00
.goreleaser.yml main 2022-12-06 12:29:46 +01:00
config.yml Init 2022-10-14 14:30:40 +02:00
go.mod Init 2022-10-14 14:30:40 +02:00
go.sum Init 2022-10-14 14:30:40 +02:00
Readme.md Stuff 2022-12-05 18:40:44 +01:00

Gitea Pages

Current just proof of concept

Provide a way to host Webpages from a special git branch like github pages. It works with nginx (or any other http server) and can use ssl (with acme.sh). gitea-pages can be installed on any server, it get triggerd via (global) webhook and pull them. For private repositorys its necessary to add the private-key as deploy key.

It should be possible to have a static page generator (hugo, vuepress ....) which can generate the static files in a ci pipeline like drone.io and push it in the "webpage" branch. Than this service could pull it, setup the nginx for the domain and provide an ssl certificate.

If the nginx is configured correct it also should be possible to execute php files.

Install

Requirmentes

Install nginx and acmh.sh for the full features

apt-get install nginx
curl https://get.acme.sh | sh -s email=my@example.com

Generate a private key

ssh-keygen

Config

Usage

Additional/Custom Domain

PHP