refactor: remove unneeded pipeline
This commit is contained in:
parent
65286d637b
commit
46d1eb5ba7
1 changed files with 0 additions and 57 deletions
|
|
@ -1,57 +0,0 @@
|
||||||
steps:
|
|
||||||
clear-target-directory:
|
|
||||||
when:
|
|
||||||
- branch: main
|
|
||||||
event: push
|
|
||||||
image: appleboy/drone-ssh
|
|
||||||
settings:
|
|
||||||
host:
|
|
||||||
from_secret: ssh_host
|
|
||||||
username:
|
|
||||||
from_secret: ssh_username
|
|
||||||
key:
|
|
||||||
from_secret: ssh_key
|
|
||||||
port: 2332
|
|
||||||
script:
|
|
||||||
- rm -f /home/mnisyif/docker-containers/mnisyif/frontend/dist/assets/Murtadha.pdf
|
|
||||||
- echo "Target directory cleared"
|
|
||||||
|
|
||||||
copy-resume:
|
|
||||||
when:
|
|
||||||
- branch: main
|
|
||||||
event: push
|
|
||||||
image: appleboy/drone-scp
|
|
||||||
settings:
|
|
||||||
host:
|
|
||||||
from_secret: ssh_host
|
|
||||||
username:
|
|
||||||
from_secret: ssh_username
|
|
||||||
key:
|
|
||||||
from_secret: ssh_key
|
|
||||||
port: 2332
|
|
||||||
target: /home/mnisyif/docker-containers/mnisyif/frontend/dist/assets
|
|
||||||
source:
|
|
||||||
- resumes/Murtadha.pdf
|
|
||||||
|
|
||||||
confirm-deployment:
|
|
||||||
when:
|
|
||||||
- branch: main
|
|
||||||
event: push
|
|
||||||
image: appleboy/drone-ssh
|
|
||||||
settings:
|
|
||||||
host:
|
|
||||||
from_secret: ssh_host
|
|
||||||
username:
|
|
||||||
from_secret: ssh_username
|
|
||||||
key:
|
|
||||||
from_secret: ssh_key
|
|
||||||
port: 2332
|
|
||||||
script:
|
|
||||||
- echo "Verifying deployment..."
|
|
||||||
- ls -l /home/mnisyif/docker-containers/mnisyif/frontend/dist/assets/
|
|
||||||
- echo "Resume successfully deployed!"
|
|
||||||
# trigger:
|
|
||||||
# branch:
|
|
||||||
# - main
|
|
||||||
# event:
|
|
||||||
# - push
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue