Rimosso pipeline drone.
This commit is contained in:
parent
ce72b46259
commit
c06e5a3663
35
.drone.yml
35
.drone.yml
@ -1,35 +0,0 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build-and-deploy
|
||||
|
||||
steps:
|
||||
- name: Build
|
||||
image: git.libreitalia.org/libreitalia/site-builder:1.0.0
|
||||
commands:
|
||||
- . /app/venv/bin/activate
|
||||
- pip install -r requirements.txt
|
||||
- pelican content -s publishconf.py
|
||||
|
||||
- name: Deploy
|
||||
image: drillster/drone-rsync
|
||||
settings:
|
||||
hosts:
|
||||
from_secret: conference_hostname
|
||||
user:
|
||||
from_secret: conference_username
|
||||
port:
|
||||
from_secret: conference_port
|
||||
key:
|
||||
from_secret: conference_sshprivkey
|
||||
source: output/
|
||||
target: /var/www/conference
|
||||
recursive: true
|
||||
script:
|
||||
- "sudo chown root:www-data -R /var/www/conference"
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
Loading…
Reference in New Issue
Block a user