Pulizia cartelle.
continuous-integration/drone Build is passing Details

This commit is contained in:
Emiliano Vavassori 2024-03-02 00:47:33 +01:00
parent 321c764b5c
commit be70d7fe5e
1 changed files with 5 additions and 7 deletions

View File

@ -8,9 +8,9 @@ steps:
image: git.libreitalia.org/libreitalia/site-builder:debian-1.0.0
commands:
- . /app/venv/bin/activate
- pip install -r /drone/src/requirements.txt
- pelican /drone/src/content -o /drone/src/output -s /drone/src/publishconf.py
- cat /drone/src/output/index.html
- pip install -r requirements.txt
- pelican content -s publishconf.py
- cat output/index.html
- name: Deploy
image: drillster/drone-rsync
@ -23,14 +23,12 @@ steps:
from_secret: conference_port
key:
from_secret: conference_sshprivkey
source: /drone/src/output
source: output
target: /var/www/conference
recursive: true
script:
- "sudo chown root:www-data -R /var/www/conference"
trigger:
triggers:
event:
- custom
- push
- pull_request