# yaml-language-server: $schema=https://json.schemastore.org/drone.json
name: deploy
kind: pipeline
type: docker
node:
instance: system
trigger:
event:
- push
branch:
- main
steps:
- name: deploy
image: docker:20.10.22-cli-alpine3.17@sha256:75026b00c823579421c1850c00def301a6126b3f3f684594e51114c997f76467
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- echo -n "$${ENV}" > .env
- docker compose --project-name=gammafogtypecom up --detach
- docker image prune --all --filter=until=1d --force
environment:
ENV:
from_secret: ENV
host:
---
name: renovate
clone:
disable: true
- cron
cron:
- renovate
- name: renovate
image: renovate/renovate:34.97.1@sha256:9dfec2b6f3d41a5306e84a26660e29af84a853ef86d6042db074cfc8e23d7031
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: https://git.fogtype.com/api/v1/
RENOVATE_AUTODISCOVER: "true"
RENOVATE_AUTODISCOVER_FILTER: nebel/*
RENOVATE_TOKEN:
from_secret: RENOVATE_TOKEN