fix/drone #5
43
.drone.yml
43
.drone.yml
|
|
@ -1,40 +1,9 @@
|
|||
kind: pipeline
|
||||
# kind: pipeline
|
||||
type: docker
|
||||
name: Build Image
|
||||
name: test
|
||||
|
||||
steps:
|
||||
- name: Build Docker Image
|
||||
image: plugins/docker
|
||||
settings:
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: git.midastix.com/ci-docker-repo-user/manicandles
|
||||
registry: git.midastix.com
|
||||
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
|
||||
- name: Deploy image
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: server1.midastix.com
|
||||
username: root
|
||||
key:
|
||||
from_secret: server_ssh_pkey
|
||||
port: 22
|
||||
command_timeout: 5m
|
||||
script:
|
||||
- echo "Deploying ManiCandles"
|
||||
- sudo /opt/deployable/manicandles/docker/deploy.sh
|
||||
- echo "Completed Deployment"
|
||||
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
- name: hello
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "Drone is working"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
--brand-text: #2D0D52;
|
||||
--brand-muted: #7B5A9E;
|
||||
--brand-border: #D5BEF0;
|
||||
|
||||
/* */
|
||||
--font-sans: 'Inter', sans-serif;
|
||||
--font-serif: 'Cormorant Garamond', serif;
|
||||
--font-display: 'Cinzel', serif;
|
||||
|
|
|
|||
Loading…
Reference in New Issue