# 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:23.0.5-cli-alpine3.17@sha256:2aad85a05307047f67d620deae2ed84ad33c572bb669ab2b31e404bb20181ec1
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=24h --force
environment:
ENV:
from_secret: ENV
host:
---
name: renovate
clone:
disable: true
- cron
cron:
- renovate
- name: renovate
image: renovate/renovate:35.74.1@sha256:216c25095ebf4f9c78c386941afda9cdfb2876c7bdfe194959031d18e5519a23
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: https://git.fogtype.com/api/v1/
RENOVATE_AUTODISCOVER: "true"
RENOVATE_AUTODISCOVER_FILTER: "nebel/!(archive.fogtype.com)"
RENOVATE_TOKEN:
from_secret: RENOVATE_TOKEN