mirror of
https://github.com/supanadit/todo.git
synced 2024-11-10 01:42:20 +00:00
chore: update build and pipeline
This commit is contained in:
parent
4bb2b44780
commit
1387729174
@ -22,6 +22,11 @@ steps:
|
||||
from_secret: SECRETKEY
|
||||
script:
|
||||
- cd /root/Docker/todo
|
||||
- docker-compose down
|
||||
- docker-compose pull
|
||||
- docker-compose up -d
|
||||
- docker-compose down
|
||||
- docker-compose up -d
|
||||
- docker-compose exec todo-app php artisan migrate
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user