summaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-04-02 09:40:08 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-04-02 09:40:08 -0600
commiteccc0f20f01d0176cfbcc031233b549b6013ddac (patch)
treea2974a97aa9a3c131d3b3f89c72c2d47cfd15a77 /.drone.yml
parent935c474878e7e1046d59702deb06ce32b4bd392d (diff)
downloadhatecomputers.club-eccc0f20f01d0176cfbcc031233b549b6013ddac.tar.gz
hatecomputers.club-eccc0f20f01d0176cfbcc031233b549b6013ddac.zip
set path precedence for / rather than /static/
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml49
1 files changed, 24 insertions, 25 deletions
diff --git a/.drone.yml b/.drone.yml
index dbfe6cf..8f459a1 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,33 +1,32 @@
---
kind: pipeline
type: docker
-name: build and publish docker image
+name: build, publish docker image, deploy
steps:
- #- name: docker
- # image: plugins/docker
- # settings:
- # username:
- # from_secret: gitea_packpub_username
- # password:
- # from_secret: gitea_packpub_password
- # registry: git.hatecomputers.club
- # repo: git.hatecomputers.club/hatecomputers/hatecomputers.club
- # tags:
- # - latest
- # - main
-- name: ssh
- image: appleboy/drone-ssh
- settings:
- host: hatecomputers.club
- username: root
- key:
- from_secret: cd_ssh_key
- port: 22
- command_timeout: 2m
- script:
- - systemctl restart docker-compose@hatecomputers-club
-
+ - name: docker
+ image: plugins/docker
+ settings:
+ username:
+ from_secret: gitea_packpub_username
+ password:
+ from_secret: gitea_packpub_password
+ registry: git.hatecomputers.club
+ repo: git.hatecomputers.club/hatecomputers/hatecomputers.club
+ tags:
+ - latest
+ - main
+ - name: ssh
+ image: appleboy/drone-ssh
+ settings:
+ host: hatecomputers.club
+ username: root
+ key:
+ from_secret: cd_ssh_key
+ port: 22
+ command_timeout: 2m
+ script:
+ - systemctl restart docker-compose@hatecomputers-club
trigger:
branch:
- main