wiki migration, move to custom server

This commit is contained in:
ben
2025-12-20 18:18:45 +01:00
parent 27b56add23
commit f89e7181e6
2 changed files with 5 additions and 6 deletions

View File

@@ -15,11 +15,12 @@ packages:
- locales-all
- perlmagick
- libhighlight-perl
- hut
- rclone
environment:
site: hackade.org
secrets:
- 4a1e84d3-5834-4499-b2b8-e18a1865410e
- 47bf754f-023f-4e42-b7fb-f12c02528784
sources:
- git@git.sr.ht:~hackade/wiki
- git@git.sr.ht:~hackade/ikiwiki-setup
@@ -32,8 +33,6 @@ tasks:
sed 's/\/root/\/home\/build/g' -i ikiwiki-setup/ikiwiki.setup
sed 's/\/var\/www/\/home\/build/g' -i ikiwiki-setup/ikiwiki.setup
ikiwiki --verbose --setup ikiwiki-setup/ikiwiki.setup --url https://$site
- package: |
cd html
tar -cvz . > ../site.tar.gz
- upload: |
hut pages publish -d $site site.tar.gz
cd html
rclone --sftp-user $site --sftp-key-file ~/.ssh/47bf754f-023f-4e42-b7fb-f12c02528784 --sftp-port 2222 --sftp-host iceberg.hackade.org --sftp-disable-hashcheck --sftp-shell-type unix --config /dev/null --timeout=10s --contimeout=10s sync ./ ":sftp:root/"