diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-04-02 09:40:08 -0600 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-04-02 09:40:08 -0600 |
| commit | eccc0f20f01d0176cfbcc031233b549b6013ddac (patch) | |
| tree | a2974a97aa9a3c131d3b3f89c72c2d47cfd15a77 /.drone.yml | |
| parent | 935c474878e7e1046d59702deb06ce32b4bd392d (diff) | |
| download | hatecomputers.club-eccc0f20f01d0176cfbcc031233b549b6013ddac.tar.gz hatecomputers.club-eccc0f20f01d0176cfbcc031233b549b6013ddac.zip | |
set path precedence for / rather than /static/
Diffstat (limited to '.drone.yml')
| -rw-r--r-- | .drone.yml | 49 |
1 files changed, 24 insertions, 25 deletions
@@ -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 |
