Compare commits

..

No commits in common. "ec821d1e3c1bd799c38e6d6f8fbb9fea88da9455" and "e30ede21cf136e3ba9c9f03ae66979a6303c002c" have entirely different histories.

2 changed files with 1 additions and 29 deletions

View File

@ -1,28 +0,0 @@
kind: pipeline
name: Opytex 2019-2020
type: docker
trigger:
branch:
- 2019-2020
steps:
- name: Deploy
image: python:3.8-alpine
commands:
- echo "Trigger from branch"
- git clone https://git.opytex.org/lafrite/2019-2020.git content
- pip install --no-cache-dir -r requirements.txt
- pelican ./content/ -o output -s publishconf.py --relative-urls
- apk add --no-cache openssh-client ca-certificates bash rsync
- echo Début du Push
- eval `ssh-agent -s`
- echo "$SSH_KEY" | ssh-add -
- mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- rsync -rv --delete -e "ssh -p 22" ./output/ sshcontent@91.121.90.228:~/raw.opytex.org/www/2019-2020/ --checksum
environment:
SSH_KEY:
from_secret: sshcontent-key

View File

@ -2,7 +2,7 @@ blinker==1.4
docutils==0.13.1 docutils==0.13.1
feedgenerator==1.9 feedgenerator==1.9
Jinja2==2.9.6 Jinja2==2.9.6
MarkupSafe==1.1.1 MarkupSafe==1.0
pelican==3.7.1 pelican==3.7.1
Pygments==2.2.0 Pygments==2.2.0
python-dateutil==2.6.0 python-dateutil==2.6.0