Pulizia cartelle.
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
This commit is contained in:
parent
321c764b5c
commit
be70d7fe5e
12
.drone.yml
12
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue