3 Commits

Author SHA1 Message Date
Arne Weiss 2a5b58ad3e Fix release pipeline: add contents:write permission, log API response
Build / build (push) Successful in 10s
Release / release (push) Successful in 11s
2026-06-01 08:10:17 +02:00
Arne Weiss 920d837fb9 Add Gitea Actions CI/CD pipeline with release workflow
Build / build (push) Successful in 9s
Release / release (push) Failing after 8s
2026-06-01 08:08:34 +02:00
Arne Weiss 0691fa7f22 Add simple_withdrawalbutton PrestaShop module 2026-06-01 08:08:31 +02:00
2 changed files with 11 additions and 3 deletions
+10 -2
View File
@@ -8,6 +8,8 @@ on:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
container:
image: php:8.2-cli-alpine
@@ -38,11 +40,17 @@ jobs:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ github.ref_name }}
run: |
RELEASE_ID=$(curl -sf -X POST \
RESPONSE=$(curl -s -X POST \
-H "Authorization: token $TOKEN" \
-H "Content-Type: application/json" \
"$GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/releases" \
-d "{\"tag_name\":\"$TAG\",\"name\":\"$TAG\"}" | jq -r '.id')
-d "{\"tag_name\":\"$TAG\",\"name\":\"$TAG\"}")
echo "API response: $RESPONSE"
RELEASE_ID=$(echo "$RESPONSE" | jq -r '.id')
if [ -z "$RELEASE_ID" ] || [ "$RELEASE_ID" = "null" ]; then
echo "Failed to create release" && exit 1
fi
curl -sf -X POST \
-H "Authorization: token $TOKEN" \
+1 -1
View File
@@ -28,7 +28,7 @@ class Simple_withdrawalbutton extends Module
$this->name = 'simple_withdrawalbutton';
$this->tab = 'administration';
$this->version = '0.1.0';
$this->author = 'Cyprès / Akiko Sake';
$this->author = 'Arne Weiss';
$this->need_instance = 0;
$this->bootstrap = true;
$this->ps_versions_compliancy = [