Add woodpeckerci

This commit is contained in:
Arya Kiran 2022-09-12 19:54:46 +05:30
parent f66f1aaeb6
commit 95aa52e6c0
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 26 additions and 0 deletions

26
.woodpecker.yml Normal file
View File

@ -0,0 +1,26 @@
---
kind: pipeline
type: ssh
name: deploy
server:
host:
from_secret: hostname
user:
from_secret: username
ssh_key:
from_secret: ssh_key
clone:
disable: true
trigger:
branch:
- master
steps:
- name: deploy
commands:
- cd /var/www/websitenew
- git pull
- git reset --hard origin/master