mirror of
https://github.com/supanadit/todo.git
synced 2024-11-22 10:06:22 +00:00
chore: update build and pipeline
This commit is contained in:
parent
4bb2b44780
commit
1387729174
@ -22,6 +22,11 @@ steps:
|
|||||||
from_secret: SECRETKEY
|
from_secret: SECRETKEY
|
||||||
script:
|
script:
|
||||||
- cd /root/Docker/todo
|
- cd /root/Docker/todo
|
||||||
- docker-compose down
|
|
||||||
- docker-compose pull
|
- docker-compose pull
|
||||||
|
- docker-compose down
|
||||||
- docker-compose up -d
|
- 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
|
WORKDIR /var/www/html
|
||||||
|
|
||||||
# Composer install and generate key
|
# 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
|
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)
|
![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
|
# Todo App
|
||||||
|
|
||||||
Self Hosted Simple Looking Todo Application, powered by Open Source framework such as Laravel + Admin LTE, customizable
|
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