This repository has been archived on 2022-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-24 21:37:42 -05:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: Deploy to boba.best
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
exclude:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
|
|
|
|
- name: build
|
2021-10-03 15:11:23 -05:00
|
|
|
image: jojomi/hugo
|
2021-04-24 21:37:42 -05:00
|
|
|
commands:
|
2021-06-02 15:40:15 -05:00
|
|
|
- hugo
|
2021-04-24 21:37:42 -05:00
|
|
|
|
2021-05-29 18:30:03 -05:00
|
|
|
- name: compress
|
2021-05-29 19:47:17 -05:00
|
|
|
image: bbaovanc/compression:latest
|
2021-05-29 18:30:03 -05:00
|
|
|
commands:
|
2021-06-02 19:57:01 -05:00
|
|
|
- time ./compress.sh
|
2021-05-29 18:30:03 -05:00
|
|
|
|
2021-04-24 21:37:42 -05:00
|
|
|
- name: upload
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
|
|
|
host: boba.best
|
2021-05-12 18:04:46 -05:00
|
|
|
port: 2222
|
2021-04-24 21:37:42 -05:00
|
|
|
username: droneci
|
|
|
|
key:
|
|
|
|
from_secret: SSH_KEY
|
|
|
|
target: /var/www/boba.best/public/
|
|
|
|
rm: true
|
|
|
|
source: public/
|
|
|
|
strip_components: 1
|