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