Update README.md and fix deployment step in .woodpecker.yml

This commit is contained in:
Keannu Bernasol 2024-08-30 19:44:37 +08:00
parent 752add642f
commit 44ba296353
3 changed files with 5 additions and 4 deletions

View file

@ -3,5 +3,4 @@ chrome/
dumps/
media/
TODO.md
.env
documentation/
.env

View file

@ -25,8 +25,9 @@ steps:
- ssh root@10.0.10.4 '
cd $PROJECT_DIR;
docker-compose down;
docker image rm git.keannu1.duckdns.org/keannu125/drf_template;
docker volume rm git.keannu1.duckdns.org/keannu125/drf_template_db_data;
docker image rm git.keannu1.duckdns.org/keannu125/drf_template || true;
docker pull git.keannu1.duckdns.org/keannu125/drf_template:latest;
docker volume rm git.keannu1.duckdns.org/keannu125/drf_template_db_data || true;
docker compose up -d'
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View file

@ -1,6 +1,7 @@
## DRF-Template
![Build Status](https://woodpecker.06222001.xyz/api/badges/3/status.svg)
![Demo Page Status](https://kuma.keannu5.duckdns.org/api/badge/119/status)
This is a Django template that I personally use for my projects. This covers the following