No description
  • Shell 59.1%
  • Dockerfile 40.9%
Find a file
Frank Agerholm 9cb60ea79f Merge branch 'set-sast-config-1' into 'main'
Configure SAST in `.gitlab-ci.yml`, creating this file if it does not already exist

See merge request fager/deployment-helper!3
2023-08-08 13:10:56 +00:00
bin Deployment-script added. 2023-07-15 08:27:05 +02:00
.gitlab-ci.yml Configure SAST in .gitlab-ci.yml, creating this file if it does not already exist 2023-08-08 13:08:08 +00:00
Dockerfile Deployment-script added. 2023-07-15 08:27:05 +02:00
README.md Environment-Variables in README listet 2023-07-12 10:31:39 +00:00
requirements.txt Add requirements.txt File 2023-07-11 15:25:37 +00:00

deployment-helper für Nikola based Websites

ENV-Variables

  • LFTP_PASSWORD (Deployment-Passwort for sftp-Upload)
  • SSH_HOST (Deployment-Host for sftp-Upload)
  • SSH_USER (Deployment-User for sftp-Upload)

Python 3.11 and Nikola 8.x

This image is based on the python:3.11-alpine image and includes additional Python-packages for building nikola-sites.

lftp for sftp-Uploads

This image includes lftp to upload files to a sftp-server and use the sftp-password from LFTP_PASSWORD environment variable.

lftp -e 'set sftp:auto-confirm yes; mirror -R ./<LOCAL_DIR>/ ./<REMOTE_DIR>/; bye' --env-password -u USER sftp://<TARGET_FQDN>