Correction problème 404 en prod

This commit is contained in:
2026-05-25 18:03:02 +02:00
parent 5948e74596
commit fc89568b37
2 changed files with 10 additions and 5 deletions
+7 -4
View File
@@ -21,17 +21,20 @@ jobs:
- name: Install curl
run: apk add --no-cache curl
- name: Create PR release → develop
- name: Create PR main → develop
run: |
RELEASE_BRANCH="${{ github.event.pull_request.head.ref }}"
curl --fail-with-body -X POST \
STATUS=$(curl -s -o /tmp/pr_response.json -w "%{http_code}" -X POST \
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{
\"title\": \"chore: sync ${RELEASE_BRANCH} into develop\",
\"head\": \"${RELEASE_BRANCH}\",
\"head\": \"main\",
\"base\": \"develop\",
\"body\": \"Synchronisation automatique après merge de ${RELEASE_BRANCH} dans main.\"
}" \
"${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/pulls"
"https://git.goutailler-olivier.com/api/v1/repos/${{ gitea.repository }}/pulls")
echo "POST /pulls → HTTP $STATUS"
cat /tmp/pr_response.json
[ "$STATUS" = "201" ] || exit 1
+2
View File
@@ -1,5 +1,7 @@
server:
port: 8080
servlet:
context-path: /api
spring:
datasource: