mirror of https://github.com/tLDP/LDP
Setting Up Docs Builder via GitHub Actions
This commit is contained in:
parent
3ec4d13af4
commit
21ce387804
|
@ -21,7 +21,7 @@ jobs:
|
||||||
sudo apt -y install texlive-font-utils linuxdoc-tools-text linuxdoc-tools-latex docbook-dsssl docbook-xsl docbook-utils htmldoc htmldoc-common docbook-xsl html2text docbook5-xml docbook-xsl-ns jing asciidoc libxml2-utils python3-stdeb fakeroot python3-all python3-networkx python3-nose fop ldp-docbook-xsl ldp-docbook-dsssl docbook opensp dh-python
|
sudo apt -y install texlive-font-utils linuxdoc-tools-text linuxdoc-tools-latex docbook-dsssl docbook-xsl docbook-utils htmldoc htmldoc-common docbook-xsl html2text docbook5-xml docbook-xsl-ns jing asciidoc libxml2-utils python3-stdeb fakeroot python3-all python3-networkx python3-nose fop ldp-docbook-xsl ldp-docbook-dsssl docbook opensp dh-python
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Restoring Martins LDP Python Scripts from Cache
|
- name: ☯️ Restoring Martins LDP Python Scripts from Cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: python-tldp/deb_dist
|
path: python-tldp/deb_dist
|
||||||
|
@ -36,7 +36,7 @@ jobs:
|
||||||
python3 setup.py --command-packages=stdeb.command bdist_deb
|
python3 setup.py --command-packages=stdeb.command bdist_deb
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Installation of Martins LDP Python Scripts
|
- name: 🔃 Installation of Martins LDP Python Scripts
|
||||||
run: |
|
run: |
|
||||||
cd ~/work
|
cd ~/work
|
||||||
sudo dpkg -i python-tldp/deb_dist/python3-tldp_*_all.deb
|
sudo dpkg -i python-tldp/deb_dist/python3-tldp_*_all.deb
|
||||||
|
@ -54,25 +54,23 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SSH_KEY: ${{secrets.SSHK}}
|
SSH_KEY: ${{secrets.SSHK}}
|
||||||
|
|
||||||
# - name: Restoring Production (Master Branch) LDP Docs from Cache
|
- name: ↪️ Restoring Recent Production (Master Branch) LDP Docs from Cache if Available
|
||||||
# uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
# with:
|
with:
|
||||||
# path: MAIN
|
path: MAIN
|
||||||
# key: ldpdocs-main
|
key: ldpdocs-main
|
||||||
|
|
||||||
# - name: 🔀 Restoring Production (Master Branch) LDP Docs from LDP WWW Server
|
- name: 🔀 Restoring Most Current Production (Master Branch) LDP Docs from LDP WWW Server
|
||||||
# run: |
|
run: |
|
||||||
# cd ~/work
|
cd ~/work
|
||||||
# mkdir -p MAIN
|
mkdir -p MAIN
|
||||||
# mkdir -p TMP
|
rsync --stats -rvclz --delete-before -e "ssh -p $LDPPORT -i ~/.ssh/ldpkey" $LDPUSER@$LDPHOST:/home/builder/build/en/ MAIN/en
|
||||||
# rsync --stats -rvclz --delete-before -e "ssh -p $LDPPORT -i ~/.ssh/ldpkey" $LDPUSER@$LDPHOST:/home/builder/build/en/ TMP/en
|
shell: bash
|
||||||
# shell: bash
|
|
||||||
|
|
||||||
- name: 🧱 LDP Documents Processing via Martins scripts
|
- name: 🧱 LDP Documents Processing via Martins scripts
|
||||||
run: |
|
run: |
|
||||||
cd ~/work
|
cd ~/work
|
||||||
mkdir -p BUILD
|
mkdir -p BUILD
|
||||||
mkdir -p MAIN
|
|
||||||
ls -alR
|
ls -alR
|
||||||
ldptool --loglevel info --builddir BUILD --configfile LDP/LDP/.github/builder.ldptool.cfg --pubdir MAIN --list
|
ldptool --loglevel info --builddir BUILD --configfile LDP/LDP/.github/builder.ldptool.cfg --pubdir MAIN --list
|
||||||
ldptool --loglevel info --builddir BUILD --configfile LDP/LDP/.github/builder.ldptool.cfg --pubdir MAIN --publish
|
ldptool --loglevel info --builddir BUILD --configfile LDP/LDP/.github/builder.ldptool.cfg --pubdir MAIN --publish
|
||||||
|
|
Loading…
Reference in New Issue