From 12c2b1e1b38cd4dba8c863b54623f3bc8f538b38 Mon Sep 17 00:00:00 2001 From: Matthieu Date: Thu, 2 Apr 2026 13:44:51 +0200 Subject: [PATCH] chore(infra) : remove release artefact pipeline Keep only Docker-based deployment workflow. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/release-artefact.yml | 67 --------------------------- 1 file changed, 67 deletions(-) delete mode 100644 .gitea/workflows/release-artefact.yml diff --git a/.gitea/workflows/release-artefact.yml b/.gitea/workflows/release-artefact.yml deleted file mode 100644 index e9d201c..0000000 --- a/.gitea/workflows/release-artefact.yml +++ /dev/null @@ -1,67 +0,0 @@ -name: Build Release Artefact - -on: - push: - tags: - - "v*" - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - persist-credentials: false - - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: "8.4" - extensions: mbstring, intl, pdo_pgsql, xml, curl, zip, gd - - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "lts/*" - - - name: Install backend deps (prod) - env: - APP_ENV: prod - APP_DEBUG: "0" - run: composer install --no-dev --optimize-autoloader --no-interaction --no-scripts - - - name: Build frontend (static) - run: | - cd frontend - npm ci - CI=1 NUXT_TELEMETRY_DISABLED=1 NUXT_PUBLIC_API_BASE_URL=/api NUXT_PUBLIC_APP_BASE=/ npm run generate - test -f .output/public/index.html - - - name: Build artefact - shell: bash - run: | - set -euo pipefail - mkdir -p release - tar -czf "release/inventory-${GITHUB_REF_NAME}.tar.gz" \ - .env \ - bin \ - config \ - migrations \ - public \ - src \ - templates \ - vendor \ - composer.json \ - composer.lock \ - symfony.lock \ - VERSION \ - frontend/.output - - - name: Create Release - uses: softprops/action-gh-release@v2 - with: - files: release/inventory-${{ github.ref_name }}.tar.gz - env: - GITHUB_TOKEN: ${{ secrets.REGISTRY_TOKEN }}