Compare commits

...

2 Commits

Author SHA1 Message Date
2e83dcec4c oops
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2025-12-29 17:56:10 +10:30
3be9f7ece5 deploy pipeline 2025-12-29 17:55:34 +10:30

View File

@ -1,7 +1,7 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: ssh
name: default name: deploy
trigger: trigger:
branch: branch:
@ -9,9 +9,26 @@ trigger:
event: event:
- push - push
server:
host: bristlecone
user: droneci
ssh_key:
from_secret: rsa_key
clone:
disable: true
steps: steps:
- name: build - name: Setup
image: alpine
commands: commands:
- echo "building..." - cd /var/www/html
- echo "build complete." - rm -rf solomonlai.ng
- name: Clone
environment:
KEY:
from_secret: ssh_key
commands:
- echo "$KEY" > $HOME/.ssh/id_git_rsa
- git clone ssh://git@your.gitserver.com:6122/inkletblot/solomonlai.ng.git .
- git checkout main