First try for automatic deployment
Some checks failed
/ build-doc (push) Successful in 14s
/ deploy (push) Failing after 18s

This commit is contained in:
Thomas Kolb 2024-08-27 19:56:38 +02:00
parent 711dea55b4
commit 45e3eea773

View file

@ -11,3 +11,15 @@ jobs:
with: with:
name: documentation name: documentation
path: doc/out/ path: doc/out/
deploy:
needs: build-doc
runs-on: docker
container:
image: git.tkolb.de/amateurfunk/hamnet70/asciidoctor:1.4
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
with:
name: documentation
- run: ls -lah
- run: rsync -e "ssh -p 2342" ./ tkolb.de:/var/www/0fm.de