Add basic drone yml

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-03-11 20:50:15 +01:00
parent 8458b12741
commit 2240f51c2a
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

25
.drone.yml Normal file
View file

@ -0,0 +1,25 @@
kind: pipeline
type: docker
name: Deploy
steps:
- name: Build
image: node:10
commands:
- yarn
- npm run build
- name: Download deploy script
image: plugins/download
settings:
source: https://f.ruina.exposed/pleroma-fe-build-froth1.sh
destination: ./build.sh
- name: Execute deploy script
image: ubuntu:latest
commands:
- apt install -y rsync
- wget https://f.ruina.exposed/add-froth-key.sh
- chmod +x add-froth-key.sh
- ./add-froth-key.sh && echo "KEY ADDED SUCCESFULLY"
- bash ./build.sh