Skip to content

Commit

Permalink
chore: compilation des traductions (#809)
Browse files Browse the repository at this point in the history
## Description

🎸 compiler les traductions lors du déploiement de l'instance `django`
sur `clevercloud`

## Type de changement

🚧 technique

### Points d'attention

🦺 mise à jour de `.gitignore`

---------

Co-authored-by: François Freitag <[email protected]>
  • Loading branch information
vincentporte and francoisfreitag authored Nov 18, 2024
1 parent 63e2220 commit 274f051
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
run: |
python manage.py collectstatic
python manage.py compress
- name: 🚧 compile translations
run: |
sudo apt-get install -y gettext
python manage.py compilemessages
- name: 🚧 Check pending migrations
run: python manage.py makemigrations --check --dry-run --noinput
- name: 🚧 Configure bucket
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ ENV/
# Django stuff:
*.log

# Compiled translations
*.mo

# Clever Cloud
.clever.json

Expand Down
1 change: 1 addition & 0 deletions clevercloud/python.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"managetasks": [
"migrate --no-input",
"collectstatic --no-input",
"compilemessages",
"compress"
]
}
Expand Down
Binary file removed locale/fr/LC_MESSAGES/django.mo
Binary file not shown.

0 comments on commit 274f051

Please sign in to comment.