mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-21 20:01:16 +00:00
Fix nightly builds
This commit is contained in:
parent
0cae3ecf67
commit
9e9ede1c5a
1 changed files with 27 additions and 6 deletions
33
.drone.yml
33
.drone.yml
|
@ -29,7 +29,32 @@ steps:
|
|||
commands:
|
||||
- yarn build:dev
|
||||
|
||||
- name: run instance crawl
|
||||
- name: nightly instance crawl
|
||||
image: node:14-alpine
|
||||
commands:
|
||||
# libpq and openssl can probably be removed after lemmy dep is upgraded to 0.16.4+
|
||||
- apk add cargo pkgconfig openssl openssl-dev libpq libpq-dev
|
||||
- yarn crawl
|
||||
when:
|
||||
event:
|
||||
- cron
|
||||
|
||||
- name: nightly build and push to docker hub
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
repo: dessalines/joinlemmy-site
|
||||
tags:
|
||||
- latest
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
event:
|
||||
- cron
|
||||
|
||||
- name: release instance crawl
|
||||
image: node:14-alpine
|
||||
commands:
|
||||
# libpq and openssl can probably be removed after lemmy dep is upgraded to 0.16.4+
|
||||
|
@ -38,10 +63,8 @@ steps:
|
|||
when:
|
||||
ref:
|
||||
- refs/tags/*
|
||||
event:
|
||||
- cron
|
||||
|
||||
- name: make release build and push to docker hub
|
||||
- name: release build and push to docker hub
|
||||
image: plugins/docker
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
|
@ -55,5 +78,3 @@ steps:
|
|||
when:
|
||||
ref:
|
||||
- refs/tags/*
|
||||
event:
|
||||
- cron
|
||||
|
|
Loading…
Reference in a new issue