From 2300de333f499fef9d6207f086c059f957e36c50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=8E=A0=E1=8E=A1=2E=20=D0=85=CF=B5rg=CF=B5=20=D1=B4ictor?= Date: Thu, 30 Jan 2020 18:25:10 +0700 Subject: [PATCH] Setting Up Docs Builder via GitHub Actions --- .github/workflows/main.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 83786a92..b51598b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,7 +41,7 @@ jobs: - name: Installation of Martins LDP Python Scripts run: | - sudo dpkg -i deb_dist/python3-tldp_*_all.deb + sudo dpkg -i python-tldp/deb_dist/python3-tldp_*_all.deb ldptool --dump-cfg shell: bash @@ -60,19 +60,20 @@ jobs: # path: MAIN # key: ldpdocs-main -# - name: Restoring Production (Master Branch) LDP Docs from LDP WWW Server -# run: -# mkdir -p MAIN -# rsync --stats -rvclz --delete-before -e 'ssh -p $LDPPORT -i ~/.ssh/ldpkey' $LDPUSER@$LDPHOST:/home/builder/build/en/ MAIN/en -# shell: bash + - name: Restoring Production (Master Branch) LDP Docs from LDP WWW Server + run: + mkdir -p MAIN + mkdir -p TMP + rsync --stats -rvclz --delete-before -e 'ssh -p $LDPPORT -i ~/.ssh/ldpkey' $LDPUSER@$LDPHOST:/home/builder/build/en/ TMP/en + shell: bash - name: 🧱 LDP Documents Processing via Martins scripts run: mkdir BUILD pwd ls -alR - ldptool --loglevel info --builddir BUILD --configfile .github/builder.ldptool.cfg --pubdir MAIN --list - ldptool --loglevel info --builddir BUILD --configfile .github/builder.ldptool.cfg --pubdir MAIN --publish + ldptool --loglevel info --builddir BUILD --configfile LDP/LDP/builder.ldptool.cfg --pubdir MAIN --list + ldptool --loglevel info --builddir BUILD --configfile LDP/LDP/builder.ldptool.cfg --pubdir MAIN --publish shell: bash # - name: 🔀 Built Documents Transfer for Master