mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-08-15 14:53:29 -07:00
Compare commits
3 commits
3283b30b57
...
aac905867e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aac905867e | ||
|
|
3c0a989b46 | ||
|
|
a310584781 |
4 changed files with 11 additions and 2 deletions
|
|
@ -6,6 +6,7 @@ https://repo.sitory.username.codeberg.page/
|
|||
https://codeberg.org/username/repo.git
|
||||
https://username.codeberg.page/.*
|
||||
https://openclipart.org/.*
|
||||
https://www.fsf.org/.*
|
||||
https://www.gnu.org/.*
|
||||
https://translate.codeberg.org
|
||||
https://stackoverflow.com/.*
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# The main purpose of this Dockerfile is to install the `pnpm` package manager in the official Node.js image
|
||||
# and use an init script as the entrypoint of a custom image to build and run the documentation site.
|
||||
FROM node:lts-slim@sha256:6f7b03f7c2c8e2e784dcf9295400527b9b1270fd37b7e9a7285cf83b6951452d
|
||||
FROM node:lts-slim@sha256:3638d9a6fe4030bd716be989438248074489337ba3275657f93595428be4fc03
|
||||
|
||||
EXPOSE 8080/tcp
|
||||
SHELL [ "bash", "-c" ]
|
||||
|
|
|
|||
|
|
@ -221,6 +221,14 @@ After the first successful deployment you can change it to the `https://` scheme
|
|||
**If you deploy from Forgejo Actions,**
|
||||
the `site` parameter to the git-pages action should be set to the URL of your custom domain, and the `server` parameter should be set to `codeberg.page`. The [Forgejo Actions guide](/codeberg-pages/forgejo-actions/) includes example workflows and more information.
|
||||
|
||||
{% admonition "info" "Notice" %}
|
||||
|
||||
If you wish to deploy your site to multiple (sub)domains, you must add a webhook or deployment action (and the respective DNS setup) for each of them.
|
||||
|
||||
If you are using a custom domain, you do not need a `codeberg.page` webhook unless you also want your site to be available from the respective `codeberg.page` URL.
|
||||
|
||||
{% endadmonition %}
|
||||
|
||||
### Deploying to versions of your domain both with and without `www.`
|
||||
|
||||
If you would like to serve your website at versions with and without a `www.` prefix,
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ to close source the code) license which contains a patent provision. To avoid [p
|
|||
we recommend therefore to use the Apache license version 2.0 (SPDX license identifier Apache-2.0).
|
||||
|
||||
We recommend following the guidelines defined by the [GNU project](https://www.gnu.org/licenses/licenses.html).
|
||||
They are recommended by the [Free Software Foundation](https://fsf.org), too.
|
||||
They are recommended by the [Free Software Foundation](https://www.fsf.org), too.
|
||||
|
||||
### Hardware projects
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue