This commit is contained in:
root 2020-08-10 08:48:37 +07:00
parent 5124cc9c56
commit 3520304ff8
1 changed files with 11 additions and 9 deletions

View File

@ -1,17 +1,19 @@
# (C) Serge Victor 2020, GPLv3 License
#
# recently build version of documents is available on permanent storage disk mounted on /LDP
kind: pipeline
type: docker
name: 🗃 LDP Builder
steps:
- name: Let Us Build
- name: Martin's builder
image: tldp/builder:latest
commands:
- free
- ls -alR /LDP
- ldptool --dump-cfg
- mkdir -p MAIN
- mkdir -p BUILD
- pwd
- ldptool --loglevel info --builddir BUILD --configfile .github/builder-pr.ldptool.cfg --pubdir MAIN --list
- ldptool --loglevel info --builddir BUILD --configfile .github/builder-pr.ldptool.cfg --pubdir MAIN --publish
- ls -lR /drone
- rm -rf /LDP/BUILD
- mkdir -p /LDP/BUILD
- rsync -av /LDP/WWW/en/ /LDP/MAIN
- ldptool --loglevel info --builddir /LDP/BUILD --configfile .github/builder-pr.ldptool.cfg --pubdir /LDP/MAIN --list
- ldptool --loglevel info --builddir /LDP/BUILD --configfile .github/builder-pr.ldptool.cfg --pubdir /LDP/MAIN --publish
- rsync -av --delete-after /LDP/MAIN/ /LDP/WWW/en