CI fixes
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
1f53c69568
commit
2cd7dcf717
1 changed files with 15 additions and 1 deletions
16
.drone.yml
16
.drone.yml
|
@ -8,17 +8,31 @@ steps:
|
|||
commands:
|
||||
- yarn
|
||||
- npm run build
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: Download deploy script
|
||||
depends_on:
|
||||
- Build
|
||||
image: plugins/download
|
||||
settings:
|
||||
source: https://f.ruina.exposed/pleroma-fe-build-froth1.sh
|
||||
destination: ./build.sh
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: Execute deploy script
|
||||
depends_on:
|
||||
- Download deploy script
|
||||
image: ubuntu:latest
|
||||
commands:
|
||||
- apt update && apt install -y wget
|
||||
- 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
|
||||
- bash ./build.sh
|
||||
when:
|
||||
event:
|
||||
- push
|
Loading…
Reference in a new issue