1
0
mirror of https://gitlab.com/packaging/gitea synced 2025-05-14 06:43:17 +00:00

skip update test when previous version is unavailable

Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
This commit is contained in:
morph027 2025-05-13 09:38:27 +02:00
parent 20126c8f51
commit d0d02306ab
No known key found for this signature in database
GPG Key ID: BF17A54BB873BE58

View File

@ -4,7 +4,9 @@

curl -sL -o /etc/apt/trusted.gpg.d/morph027-gitea.asc https://packaging.gitlab.io/gitea/gpg.key
echo "deb [arch=amd64] https://packaging.gitlab.io/gitea gitea main" > /etc/apt/sources.list.d/morph027-gitea.list
apt-get update
if ! apt-get update; then
exit 0
fi
apt-get -y install gitea
install -o gitea -g gitea -m 644 "/${CI_PROJECT_DIR}/.gitlab-ci/app.ini" /etc/gitea/app.ini
start_gitea