CI test.
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
giomba 2022-06-18 13:56:23 +02:00
parent 0fd979401c
commit ad6e3043ff
2 changed files with 20 additions and 0 deletions

16
.drone.yml Normal file
View File

@ -0,0 +1,16 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: hub.docker.golem.linux.it/latex-builder:2204
environment:
ARCHIVE_SSH_USER:
from_secret: secret_archive_ssh_user
ARCHIVE_SSH_PASSWORD:
from_secret: secret_archive_ssh_password
commands:
- make
- ./archive.sh

4
archive.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
sshpass -p '${ARCHIVE_SSH_PASSWORD}' scp -P 7060 -o StrictHostKeyChecking=no build/main.pdf ${ARCHIVE_SSH_USER}@vupiuesse.andromeda.golem.linux.it:/html/manualetto-software-libero/manualetto-software-libero.pdf