Fix scripts

This commit is contained in:
octospacc 2023-02-23 08:53:00 +01:00
parent a2ea27d97a
commit 9979418c9c
4 changed files with 15 additions and 4 deletions

View File

@ -25,7 +25,7 @@ jobs:
curl -sS https://bootstrap.pypa.io/get-pip.py | sudo python3.10 curl -sS https://bootstrap.pypa.io/get-pip.py | sudo python3.10
sudo pip3 install lxml sudo pip3 install lxml
sudo npm install -g pug-cli sudo npm install -g pug-cli
git clone --depth 1 https://gitlab.com/octtspacc/staticoso sh ./Scripts/Get.staticosoDevFixed.sh
sh ./Scripts/Deploy.GitHub.sh sh ./Scripts/Deploy.GitHub.sh
sh ./Scripts/Prepare.NoStyle.sh sh ./Scripts/Prepare.NoStyle.sh

View File

@ -2,7 +2,7 @@ image: alpine:latest
before_script: | before_script: |
apk update apk update
apk add python3 py3-pip npm go git apk add python3 py3-pip npm go git tar wget
pip3 install requests lxml pip3 install requests lxml
npm install -g pug-cli npm install -g pug-cli
@ -17,7 +17,7 @@ pages:
chmod +x ./html2gmi chmod +x ./html2gmi
PATH=$PATH:$PWD PATH=$PATH:$PWD
cd .. cd ..
git clone --depth 1 https://gitlab.com/octtspacc/staticoso sh ./Scripts/Get.staticosoDevFixed.sh
sh ./Scripts/Deploy.GitLab.sh sh ./Scripts/Deploy.GitLab.sh
sh ./Scripts/Deploy.Gemini.sh sh ./Scripts/Deploy.Gemini.sh
sh ./Scripts/Prepare.NoStyle.sh sh ./Scripts/Prepare.NoStyle.sh

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
python3 ../staticoso/App/Source/Build.py \ python3 ../staticoso/Source/Build.py \
--SiteDomain="http://sitoctt2fxjvx3lc2iqqef2aeulflprjaasv2xl4zi7sxxbmvjy5b5yd.onion" \ --SiteDomain="http://sitoctt2fxjvx3lc2iqqef2aeulflprjaasv2xl4zi7sxxbmvjy5b5yd.onion" \
--FolderRoots="{'*':'/', 'Assets':'/sitoctt-assets'}" \ --FolderRoots="{'*':'/', 'Assets':'/sitoctt-assets'}" \
--NoScripts=True --NoScripts=True

View File

@ -0,0 +1,11 @@
#!/bin/sh
staticosoCommit="c35aa94345ce16c9109fd5a9f35c5aa9498fb664"
#git clone --depth 1 https://gitlab.com/octtspacc/staticoso
wget \
-O ./staticoso.tar.bz2 \
https://gitlab.com/octtspacc/staticoso/-/archive/$staticosoCommit/staticoso-$staticosoCommit.tar.bz2
tar xvf ./staticoso.tar.bz2
mv ./staticoso-$staticosoCommit ./staticoso