Compare commits
2 Commits
eb8b6723ac
...
2a3739986e
| Author | SHA1 | Date | |
|---|---|---|---|
|
2a3739986e
|
|||
| 96a44b823e |
@@ -157,14 +157,14 @@ jobs:
|
|||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
-H "Authorization: token ${GITEA_TOKEN}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
--data "${PAYLOAD}" \
|
--data "${PAYLOAD}" \
|
||||||
"${API_ENDPOINT}" | tee /tmp/pr_response.json \
|
"${API_ENDPOINT}" | tee /tmp/pr_response \
|
||||||
| head -n 1
|
| head -n 1
|
||||||
)
|
)
|
||||||
|
|
||||||
echo ">> Gitea API Response Body ...
|
echo ">> Gitea API Response Body ..."
|
||||||
echo "----
|
echo "----"
|
||||||
echo "$(cat /tmp/pr_response.json)"
|
echo "$(cat /tmp/pr_response)"
|
||||||
echo "----
|
echo "----"
|
||||||
|
|
||||||
if [ "$HTTP_STATUS" == "201" ]; then
|
if [ "$HTTP_STATUS" == "201" ]; then
|
||||||
echo ">> Pull Request created successfully!"
|
echo ">> Pull Request created successfully!"
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ services:
|
|||||||
- /dev/net/tun:/dev/net/tun
|
- /dev/net/tun:/dev/net/tun
|
||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
image: docker.io/postgres:17.7-alpine3.21
|
image: docker.io/postgres:18.1-alpine3.21
|
||||||
container_name: gitea-postgres
|
container_name: gitea-postgres
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|||||||
Reference in New Issue
Block a user