add continuous deployment step
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
1fd1444f97
commit
dceabdcf7a
32
.drone.yml
32
.drone.yml
|
@ -4,18 +4,26 @@ type: docker
|
||||||
name: build and publish docker image
|
name: build and publish docker image
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
#- name: docker
|
||||||
image: plugins/docker
|
# image: plugins/docker
|
||||||
settings:
|
# settings:
|
||||||
username:
|
# username:
|
||||||
from_secret: gitea_packpub_username
|
# from_secret: gitea_packpub_username
|
||||||
password:
|
# password:
|
||||||
from_secret: gitea_packpub_password
|
# from_secret: gitea_packpub_password
|
||||||
registry: git.hatecomputers.club
|
# registry: git.hatecomputers.club
|
||||||
repo: git.hatecomputers.club/hatecomputers/hatecomputers.club
|
# repo: git.hatecomputers.club/hatecomputers/hatecomputers.club
|
||||||
tags:
|
# tags:
|
||||||
- latest
|
# - latest
|
||||||
- main
|
# - main
|
||||||
|
- name: continuous deployment
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- apk add openssh
|
||||||
|
- sh deploy.sh
|
||||||
|
environment:
|
||||||
|
SSH_KEY:
|
||||||
|
from_secret: SSH_KEY
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
Loading…
Reference in New Issue