chore: update build and pipeline

This commit is contained in:
Supan Adit Pratama 2022-04-15 13:38:08 +07:00
parent 4bb2b44780
commit 1387729174
3 changed files with 10 additions and 3 deletions

View File

@ -22,6 +22,11 @@ steps:
from_secret: SECRETKEY
script:
- cd /root/Docker/todo
- docker-compose down
- docker-compose pull
- docker-compose down
- docker-compose up -d
- docker-compose exec todo-app php artisan migrate
trigger:
branch:
- master

View File

@ -46,6 +46,6 @@ COPY . /var/www/html
WORKDIR /var/www/html
# Composer install and generate key
RUN composer install --optimize-autoloader --no-dev && php artisan key:generate
RUN composer install && php artisan key:generate
RUN chown -R www-data:www-data /var/www/html

View File

@ -1,5 +1,7 @@
![Show Case](https://i.ibb.co/Mhryxcy/Todo-App-Preview-1.png)
[![Build Status](https://drone.supanadit.com/api/badges/supanadit/todo/status.svg)](https://drone.supanadit.com/supanadit/todo)
# Todo App
Self Hosted Simple Looking Todo Application, powered by Open Source framework such as Laravel + Admin LTE, customizable