Add rsync to documentation CI container
This commit is contained in:
parent
45e3eea773
commit
2bb6bf9878
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue