mirror of https://gitlab.com/octtspacc/OcttKB
Update scripts
This commit is contained in:
parent
d5e0411165
commit
659802d03b
|
@ -21,6 +21,7 @@ jobs:
|
|||
sudo apt install -y wget npm
|
||||
sudo npm install -g tiddlywiki
|
||||
./Build.sh
|
||||
./DeployOld.sh
|
||||
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
|
|
|
@ -9,6 +9,7 @@ pages:
|
|||
stage: deploy
|
||||
script: |
|
||||
./Build.sh
|
||||
./DeployOld.sh
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
|
5
Build.sh
5
Build.sh
|
@ -1,7 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
URL="https://kb.octt.eu.org"
|
||||
|
||||
cd ./public
|
||||
|
||||
tiddlywiki \
|
||||
|
@ -9,6 +7,3 @@ tiddlywiki \
|
|||
--output ./ \
|
||||
--rendertiddler $:/core/templates/static.template.css Style.css text/plain \
|
||||
--rendertiddler $:/core/templates/alltiddlers.template.html Static.html text/plain
|
||||
|
||||
wget -O "-1.html" "$URL" || true
|
||||
wget -O "-2.html" "$URL/-1.html" || true
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
URL="https://kb.octt.eu.org"
|
||||
|
||||
cd ./public
|
||||
|
||||
wget -O "-1.html" "$URL" || true
|
||||
wget -O "-2.html" "$URL/-1.html" || true
|
Loading…
Reference in New Issue