Add basic drone yml
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
8458b12741
commit
2240f51c2a
1 changed files with 25 additions and 0 deletions
25
.drone.yml
Normal file
25
.drone.yml
Normal 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
|
Loading…
Reference in a new issue