mirror of
https://gitea.invidious.io/iv-org/documentation
synced 2024-12-19 12:43:26 +01:00
585 B
585 B
Invidious releases are based on tags. You can use them if you want to be sure your instance is stable.
With release tags
$ sudo -i -u invidious
$ cd invidious
$ git pull
$ latestVersion=$(git describe --tags `git rev-list --tags --max-count=1`)
$ git checkout $latestVersion
$ shards
$ crystal build src/invidious.cr --release
$ exit
$ sudo systemctl restart invidious.service
With master branch
$ sudo -i -u invidious
$ cd invidious
$ git pull
$ shards
$ crystal build src/invidious.cr --release
$ exit
$ sudo systemctl restart invidious.service