extract build stage
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
2fca2828a2
commit
8aa4e17042
20
.drone.yml
20
.drone.yml
|
@ -9,6 +9,20 @@ steps:
|
|||
- pacman -Sy --noconfirm git >/dev/null
|
||||
- git submodule update --init --recursive
|
||||
|
||||
- name: build
|
||||
image: archlinux
|
||||
environment:
|
||||
PYTHON_ENV: python python-pipenv python-setuptools
|
||||
when:
|
||||
branch:
|
||||
- drone
|
||||
|
||||
commands:
|
||||
- pacman -Sy --noconfirm make $PYTHON_ENV > /dev/null
|
||||
|
||||
# build site
|
||||
- make all
|
||||
|
||||
- name: deploy
|
||||
image: archlinux
|
||||
environment:
|
||||
|
@ -25,8 +39,7 @@ steps:
|
|||
commands:
|
||||
# install deps
|
||||
- pacman -Sy --noconfirm > /dev/null
|
||||
- pacman -S --noconfirm python python-pip > /dev/null
|
||||
- pacman -S --noconfirm make git openssh rsync > /dev/null
|
||||
- pacman -S --noconfirm openssh rsync > /dev/null
|
||||
|
||||
# configure ssh
|
||||
- eval $(ssh-agent -s)
|
||||
|
@ -36,8 +49,5 @@ steps:
|
|||
- ssh-add
|
||||
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||
|
||||
# build site
|
||||
- make all
|
||||
|
||||
# run operations on remote host
|
||||
|
||||
|
|
Loading…
Reference in New Issue