mirror of
https://github.com/krille-chan/fluffychat
synced 2024-10-05 14:32:43 +00:00
fix: pages deployment fixes
- fix slug of Nightly web app - fix missing directory in F-Droid builds Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
bd955f16af
commit
a3463a63fe
2 changed files with 7 additions and 6 deletions
|
@ -220,6 +220,8 @@ pages:
|
|||
- mv docs public
|
||||
- mv repo public || true
|
||||
- mv build/web/ public/nightly
|
||||
# ensure the nightly deployment knows its location
|
||||
- sed -i "s/href=\"\/web\/\"/href=\"\/nightly\/\"/g" public/nightly/index.html
|
||||
- rm -rf build
|
||||
- ./scripts/download-web-stable.sh
|
||||
- mv stable public/web
|
||||
|
|
|
@ -7,10 +7,10 @@ mkdir repo
|
|||
|
||||
git fetch
|
||||
|
||||
cd fdroid
|
||||
|
||||
# building nightly repo
|
||||
|
||||
cd fdroid
|
||||
|
||||
cp config.nightly.py config.py
|
||||
|
||||
PIPELINES="$(curl https://gitlab.com/api/v4/projects/${GITLAB_PROJECT_ID}/pipelines\?ref=main\&status=success\&order_by=updated_at | jq '.[].id' | head -n3)"
|
||||
|
@ -31,13 +31,12 @@ done
|
|||
|
||||
fdroid update --rename-apks
|
||||
mkdir /fdroid && fdroid deploy
|
||||
rm -rf /fdroid
|
||||
cd .. && mkdir public && mv -v /fdroid repo/nightly
|
||||
|
||||
rm -rf /fdroid/archive
|
||||
cd .. && mv -v /fdroid repo/nightly
|
||||
|
||||
# building stable + RC repo
|
||||
|
||||
mkdir /fdroid
|
||||
rm -rf /fdroid
|
||||
|
||||
cd fdroid
|
||||
rm -f repo/*.apk
|
||||
|
|
Loading…
Reference in a new issue