From 55478b8a37c795b3b77f51649d833002ffbe3f6d 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 17:10:13 +0700 Subject: [PATCH] Setting Up Docs Builder via GitHub Actions --- .github/workflows/main.yml | 70 +++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4a5d54b2..d3a1b66c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,45 +39,45 @@ jobs: cd shell: bash - - name: Installation of Martins LDP Python Scripts - run: | - sudo dpkg -i deb_dist/python3-tldp_*_all.deb - ldptool --dump-cfg - shell: bash + - name: Installation of Martins LDP Python Scripts + run: | + sudo dpkg -i deb_dist/python3-tldp_*_all.deb + ldptool --dump-cfg + shell: bash - - name: Restoring SSH Key to Manage Documentation Repository - run: | - echo "$SSH_KEY" > ~/.ssh/ldpkey - chmod 0600 ~/.ssh/ldpkey - ssh-keyscan -p $LDPPORT -H $LDPHOST >> ~/.ssh/known_hosts - shell: bash - env: - SSH_KEY: ${{secrets.SSHK}} + - name: Restoring SSH Key to Manage Documentation Repository + run: | + echo "$SSH_KEY" > ~/.ssh/ldpkey + chmod 0600 ~/.ssh/ldpkey + ssh-keyscan -p $LDPPORT -H $LDPHOST >> ~/.ssh/known_hosts + shell: bash + env: + SSH_KEY: ${{secrets.SSHK}} -# - name: Restoring Production (Master Branch) LDP Docs from Cache -# uses: actions/cache@v1 -# with: -# path: MAIN -# key: ldpdocs-main +# - name: Restoring Production (Master Branch) LDP Docs from Cache +# uses: actions/cache@v1 +# with: +# 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 +# rsync --stats -rvclz --delete-before -e 'ssh -p $LDPPORT -i ~/.ssh/ldpkey' $LDPUSER@$LDPHOST:/home/builder/build/en/ MAIN/en +# shell: bash - - 🧱 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 - shell: bash + - 🧱 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 + shell: bash -# - name: 🔀 Built Documents Transfer for Master -# run: -# rsync --stats -rvclz --delete-before -e 'ssh -p $LDPPORT -i ~/.ssh/ldpkey' MAIN/en/ $LDPUSER@$LDPHOST:/home/builder/build/en -# shell: bash +# - name: 🔀 Built Documents Transfer for Master +# run: +# rsync --stats -rvclz --delete-before -e 'ssh -p $LDPPORT -i ~/.ssh/ldpkey' MAIN/en/ $LDPUSER@$LDPHOST:/home/builder/build/en +# shell: bash # happy end.