switching to gitea actions

This commit is contained in:
2023-06-08 23:00:13 -04:00
parent d6de6f45d4
commit 44f52f0ca9
2 changed files with 70 additions and 33 deletions

34
.drone.yml.old Normal file
View File

@@ -0,0 +1,34 @@
kind: pipeline
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive --remote
- name: build
image: plugins/hugo
settings:
hugo_version: 0.80.0
pull: always
validate: true
- name: deploy
image: appleboy/drone-scp
settings:
host: 192.168.1.150
target: /mnt/data/websites/recipes/site/
source: public/*
username:
from_secret: ssh_username
password:
from_secret: ssh_password
port:
from_secret: ssh_port
when:
branch:
- master
event:
exclude:
- pull_request