deploy-gitea/.drone.yml

37 lines
619 B
YAML
Raw Normal View History

2021-08-04 03:33:31 +02:00
---
kind: pipeline
type: docker
2021-08-04 03:33:31 +02:00
name: deploy
platform:
os: linux
arch: amd64
trigger:
branch:
- development
2021-08-04 04:10:52 +02:00
event: [push]
2021-08-04 03:33:31 +02:00
steps:
- name: deploy
depends_on: [clone]
image: appleboy/drone-ssh
settings:
host:
from_secret: host
username:
from_secret: username
key:
from_secret: ssh-key
port: 22
script:
- echo hello
- echo world
- touch /tmp/.nupls
- ls -lah /tmp/.nupls
2021-08-05 23:52:03 +02:00
- rm -v /tmp/.nupls
2021-08-06 00:10:38 +02:00
- echo $PATH
- echo $SHELL
2021-08-05 23:56:35 +02:00
- /usr/local/bin/giteaupdater
2021-08-06 00:10:38 +02:00
- ansible --version