Add rsync to documentation CI container
Some checks failed
/ build-doc (push) Successful in 14s
/ deploy-doc (push) Failing after 11s

This commit is contained in:
Thomas Kolb 2024-08-27 20:01:54 +02:00
parent 45e3eea773
commit 2bb6bf9878
2 changed files with 6 additions and 3 deletions

View file

@ -3,7 +3,7 @@ jobs:
build-doc:
runs-on: docker
container:
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.4
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.5
steps:
- uses: actions/checkout@v4
- run: pwd && ls -hla && cd doc && make
@ -11,11 +11,11 @@ jobs:
with:
name: documentation
path: doc/out/
deploy:
deploy-doc:
needs: build-doc
runs-on: docker
container:
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.4
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.5
steps:
- run: mkdir ~/.ssh && echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_ed25519 && chmod 0600 ~/.ssh/id_ed25519 && echo "${{ secrets.SSH_KNOWN_HOST }}" > ~/.ssh/known_hosts
- uses: actions/download-artifact@v3

View file

@ -8,6 +8,9 @@ RUN gem install asciidoctor asciidoctor-diagram
# tools for diagram generation
RUN apt install -y --no-install-recommends mscgen && apt clean
# tools for automatic deployment
RUN apt install -y --no-install-recommends rsync && apt clean
# run as unprivileged user in the container
RUN useradd -m ciuser
USER ciuser