This commit is contained in:
parent
d672e5f2d7
commit
48a655c257
1 changed files with 25 additions and 0 deletions
25
.forgejo/workflows/hugo.yml
Normal file
25
.forgejo/workflows/hugo.yml
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
recursive: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: klakegg/hugo:ext-alpine
|
||||||
|
commands:
|
||||||
|
- hugo
|
||||||
|
deploy:
|
||||||
|
image: drillster/drone-rsync
|
||||||
|
secrets: [USER, HOTS, SSH, PORT]
|
||||||
|
settings:
|
||||||
|
hosts:
|
||||||
|
from_secret: HOST
|
||||||
|
user:
|
||||||
|
from_secret: USER
|
||||||
|
key:
|
||||||
|
from_secret: SSH
|
||||||
|
port:
|
||||||
|
from_secret: PORT
|
||||||
|
source: public
|
||||||
|
target: /var/www/html
|
Loading…
Reference in a new issue