This commit is contained in:
Midou36O 2022-08-11 13:51:30 +01:00
parent 46c35da1a4
commit 8fab2695be
Signed by: midou
GPG Key ID: 08063D5407090BC2

View File

@ -9,7 +9,7 @@ pipeline:
- rm -rf *
- mv ../build/* .
push:
image: appleboy/drone-git-push
push: image: appleboy/drone-git-push
settings:
branch: build
remote: git@git.projectsegfau.lt:ProjectSegfault/website.git
@ -18,7 +18,8 @@ pipeline:
commit_message : Successfully built the page.
ssh_key:
from_secret: ssh_key_git
when:
event: [push, tag, deployement]
update:
image: appleboy/drone-ssh
settings:
@ -35,6 +36,8 @@ pipeline:
- git clone https://git.projectsegfau.lt/ProjectSegfault/website.git html
- cd html
- git checkout build
when:
event: [push, tag, deployement]
# I HATE GIT AND HOW THEY FORCE THIS
# todo: do the funny pull but find a way to accept the changes.
branches: main