conference-site/.drone.yml

32 lines
654 B
YAML
Raw Normal View History

2024-03-01 21:27:27 +01:00
---
2022-03-10 23:49:01 +01:00
kind: pipeline
type: docker
name: default
steps:
2024-03-01 21:33:50 +01:00
- name: Build and publish
image: git.sys42.eu/syntaxerrormmm/pelican-base:1.0.0
environment:
HOSTNAME:
from_secret: conference_hostname
USERNAME:
from_secret: conference_username
PORT:
from_secret: conference_port
SSH_PRIVATE_KEY:
from_secret: conference_sshprivkey
commands:
- pushd ~
- ./prepare.sh
- python3 -m venv venv --system-site-packages
- source venv/bin/activate
- popd
- pip install -r requirements.txt
- make rsync_public
trigger:
2024-03-01 21:28:07 +01:00
branch:
2024-03-01 21:33:50 +01:00
- master
event:
2024-03-01 21:33:50 +01:00
- push