This repository has been archived on 2024-01-05. You can view files and clone it, but cannot push or open issues or pull requests.
gamma.fogtype.com/.drone.yml
Nebel 23a5d3bceb
All checks were successful
continuous-integration/drone/push Build is passing
revert f9b1b7cb50
revert instance: default
2022-12-27 15:58:47 +09:00

48 lines
1.1 KiB
YAML

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