mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-18 06:03:00 +05:30
Merge branch 'main' into gh-to-gt
This commit is contained in:
commit
a597d10b14
@ -9,7 +9,7 @@ pipeline:
|
|||||||
- rm -rf *
|
- rm -rf *
|
||||||
- mv ../build/* .
|
- mv ../build/* .
|
||||||
push:
|
push:
|
||||||
image: appleboy/drone-git-push
|
push: image: appleboy/drone-git-push
|
||||||
settings:
|
settings:
|
||||||
branch: build
|
branch: build
|
||||||
remote: git@git.projectsegfau.lt:ProjectSegfault/website.git
|
remote: git@git.projectsegfau.lt:ProjectSegfault/website.git
|
||||||
@ -18,7 +18,8 @@ pipeline:
|
|||||||
commit_message : Successfully built the page.
|
commit_message : Successfully built the page.
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: ssh_key_git
|
from_secret: ssh_key_git
|
||||||
|
when:
|
||||||
|
event: [push, tag, deployement]
|
||||||
update:
|
update:
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
@ -35,6 +36,8 @@ pipeline:
|
|||||||
- git clone https://git.projectsegfau.lt/ProjectSegfault/website.git html
|
- git clone https://git.projectsegfau.lt/ProjectSegfault/website.git html
|
||||||
- cd html
|
- cd html
|
||||||
- git checkout build
|
- git checkout build
|
||||||
|
when:
|
||||||
|
event: [push, tag, deployement]
|
||||||
# I HATE GIT AND HOW THEY FORCE THIS
|
# I HATE GIT AND HOW THEY FORCE THIS
|
||||||
# todo: do the funny pull but find a way to accept the changes.
|
# todo: do the funny pull but find a way to accept the changes.
|
||||||
branches: main
|
branches: main
|
||||||
|
Loading…
Reference in New Issue
Block a user