mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-26 08:02:34 +01:00
Merge branch 'braid/pages-fixes' into 'main'
fix: pages deployment fixes See merge request famedly/fluffychat!989
This commit is contained in:
commit
22eda121d8
@ -220,6 +220,8 @@ pages:
|
|||||||
- mv docs public
|
- mv docs public
|
||||||
- mv repo public || true
|
- mv repo public || true
|
||||||
- mv build/web/ public/nightly
|
- 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
|
- rm -rf build
|
||||||
- ./scripts/download-web-stable.sh
|
- ./scripts/download-web-stable.sh
|
||||||
- mv stable public/web
|
- mv stable public/web
|
||||||
|
@ -7,10 +7,10 @@ mkdir repo
|
|||||||
|
|
||||||
git fetch
|
git fetch
|
||||||
|
|
||||||
cd fdroid
|
|
||||||
|
|
||||||
# building nightly repo
|
# building nightly repo
|
||||||
|
|
||||||
|
cd fdroid
|
||||||
|
|
||||||
cp config.nightly.py config.py
|
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)"
|
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
|
fdroid update --rename-apks
|
||||||
mkdir /fdroid && fdroid deploy
|
mkdir /fdroid && fdroid deploy
|
||||||
rm -rf /fdroid
|
rm -rf /fdroid/archive
|
||||||
cd .. && mkdir public && mv -v /fdroid repo/nightly
|
cd .. && mv -v /fdroid repo/nightly
|
||||||
|
|
||||||
|
|
||||||
# building stable + RC repo
|
# building stable + RC repo
|
||||||
|
|
||||||
mkdir /fdroid
|
rm -rf /fdroid
|
||||||
|
|
||||||
cd fdroid
|
cd fdroid
|
||||||
rm -f repo/*.apk
|
rm -f repo/*.apk
|
||||||
|
Loading…
Reference in New Issue
Block a user