CI fixes
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2022-03-14 14:07:01 +01:00
parent 1f53c69568
commit 2cd7dcf717
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -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