prod: rename truenas compose to .example and gitignore the real one
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
|||||||
-H "Authorization: token $TOKEN" -H "Content-Type: application/json" \
|
-H "Authorization: token $TOKEN" -H "Content-Type: application/json" \
|
||||||
-d "{\"tag_name\":\"$TAG\",\"name\":\"$TAG\",\"body\":\"$BODY\"}" | jq -r '.id')
|
-d "{\"tag_name\":\"$TAG\",\"name\":\"$TAG\",\"body\":\"$BODY\"}" | jq -r '.id')
|
||||||
echo "Release créée (id=$REL_ID)"
|
echo "Release créée (id=$REL_ID)"
|
||||||
for f in docker-compose.truenas.yml docker-compose.prod.yml .env.prod.example; do
|
for f in docker-compose.truenas.yml.example docker-compose.prod.yml .env.prod.example; do
|
||||||
curl -sSf -X POST "$API/releases/$REL_ID/assets?name=$f" \
|
curl -sSf -X POST "$API/releases/$REL_ID/assets?name=$f" \
|
||||||
-H "Authorization: token $TOKEN" \
|
-H "Authorization: token $TOKEN" \
|
||||||
-F "attachment=@$f;type=text/plain" >/dev/null
|
-F "attachment=@$f;type=text/plain" >/dev/null
|
||||||
|
|||||||
@@ -7,10 +7,16 @@ testmedia/
|
|||||||
.env
|
.env
|
||||||
.env.prod
|
.env.prod
|
||||||
.env.*.local
|
.env.*.local
|
||||||
|
# Compose de déploiement TrueNAS rempli avec les vrais secrets
|
||||||
|
# (le modèle versionné = docker-compose.truenas.yml.example)
|
||||||
|
docker-compose.truenas.yml
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
|
|
||||||
|
# IDE JetBrains
|
||||||
|
.idea/
|
||||||
|
|
||||||
# OS
|
# OS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
Reference in New Issue
Block a user