run pre-commit on garfbot repo
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 19s
All checks were successful
Garfbot CI/CD Deployment / Deploy (push) Successful in 19s
This commit is contained in:
@@ -13,11 +13,11 @@ jobs:
|
||||
- name: Pull GarfBot and re-deploy
|
||||
run: |
|
||||
cd /workspace/crate/garfbot/garfbot
|
||||
|
||||
|
||||
git pull origin main
|
||||
|
||||
|
||||
CHANGED=$(git diff --name-only HEAD~1 HEAD)
|
||||
|
||||
|
||||
if echo "$CHANGED" | grep -qE "(Dockerfile|requirements\.txt|docker-compose\.yml|\.gitea/workflows/deploy\.yaml)"; then
|
||||
if [ "$(docker compose ps -q)" ]; then
|
||||
docker compose down
|
||||
|
Reference in New Issue
Block a user