mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-22 04:11:09 +00:00
Merge branch 'main' into fix_docker_install
This commit is contained in:
commit
1af9a97b3a
3 changed files with 18 additions and 3 deletions
|
@ -14,6 +14,6 @@ steps:
|
|||
- cargo install mdbook --git https://github.com/Ruin0x11/mdBook.git --branch localization
|
||||
--rev 9d8147c --force --debug
|
||||
- apt-get update
|
||||
- apt-get install git -y
|
||||
- apt-get install git curl -y
|
||||
- ./update-includes.sh
|
||||
- mdbook build .
|
||||
|
|
|
@ -17,4 +17,8 @@ cd server
|
|||
|
||||
```hjson
|
||||
{{#include ../../../include/config/defaults.hjson}}
|
||||
```
|
||||
```
|
||||
|
||||
## Lemmy-UI configuration
|
||||
|
||||
Lemmy-UI can be configured using environment variables, detailed in its [README](https://github.com/LemmyNet/lemmy-ui#readme).
|
||||
|
|
|
@ -1,4 +1,15 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
git clone https://github.com/LemmyNet/lemmy.git include --depth 1
|
||||
LEMMY_VERSION=$(curl "https://raw.githubusercontent.com/LemmyNet/lemmy-ansible/main/VERSION")
|
||||
if [ ! -d "include/.git" ]
|
||||
then
|
||||
git clone https://github.com/LemmyNet/lemmy.git include
|
||||
cd include
|
||||
else
|
||||
cd include
|
||||
git checkout main
|
||||
git pull
|
||||
fi
|
||||
git fetch --tags
|
||||
git checkout "$LEMMY_VERSION"
|
Loading…
Reference in a new issue