1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
docker stop hugo
chown 1024:1024 -R /dconf/hugo
mv /dconf/hugo /dconf/hugo.old
su quasinas
mkdir /dconf/hugo
cd /dconf/hugo
git clone git@limbend.ru:dotgs/hugo-main.git .
git submodule add git@limbend.ru:dotgs/hugo-content.git content
git submodule add git@limbend.ru:dotgs/hugo-static.git static
git submodule add git@github.com:Limbend/hugo-anya.git themes/hugo-anya
cp -r /dconf/hugo.old/archetypes /dconf/hugo/archetypes
cp -r /dconf/hugo.old/static_original /dconf/hugo/static_original
cp -r /dconf/hugo.old/script /dconf/hugo/script
cp /dconf/hugo.old/.prettierignore /dconf/hugo/.prettierignore
cp /dconf/hugo.old/.prettierrc /dconf/hugo/.prettierrc
cp /dconf/hugo.old/config.toml /dconf/hugo/config.toml
cp /dconf/hugo.old/README.md /dconf/hugo/README.md
git push origin main
exit
docker start hugo
|