wiki migration, move to custom server
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user