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
Kohei Watanabe ebe2275053
Some checks failed
continuous-integration/drone/push Build is failing
add env file
2022-12-27 01:00:22 +09:00

25 lines
489 B
YAML

# yaml-language-server: $schema=https://json.schemastore.org/drone.json
name: default
kind: pipeline
type: docker
trigger:
event:
- push
branch:
- main
steps:
- name: deploy
image: docker
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- echo -n "$${ENV}" > .env
- docker compose up --detach
environment:
ENV:
from_secret: ENV
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock