ci: remove deploy job from CI pipeline
Deployment is now handled by Gitea webhooks triggering Coolify directly, replacing the manual Docker build + webhook approach. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -29,34 +29,6 @@ jobs:
|
||||
- name: Build
|
||||
run: bun run build
|
||||
|
||||
deploy:
|
||||
needs: ci
|
||||
if: gitea.ref == 'refs/heads/Develop' && gitea.event_name == 'push'
|
||||
runs-on: dind
|
||||
steps:
|
||||
- name: Clone repository
|
||||
run: |
|
||||
apk add --no-cache git curl docker-cli docker-cli-buildx
|
||||
git clone https://${{ secrets.GITEA_TOKEN }}@gitea.jeanlucmakiola.de/${{ gitea.repository }}.git repo
|
||||
cd repo
|
||||
git checkout Develop
|
||||
|
||||
- name: Build and push Docker image
|
||||
working-directory: repo
|
||||
run: |
|
||||
REGISTRY="gitea.jeanlucmakiola.de"
|
||||
IMAGE="${REGISTRY}/${{ gitea.repository_owner }}/gearbox"
|
||||
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ gitea.repository_owner }}" --password-stdin
|
||||
docker buildx build \
|
||||
--cache-from type=registry,ref=${IMAGE}:buildcache \
|
||||
--cache-to type=registry,ref=${IMAGE}:buildcache \
|
||||
-t "${IMAGE}:develop" \
|
||||
--push .
|
||||
|
||||
- name: Trigger Coolify deploy
|
||||
run: |
|
||||
curl -s -X GET "${{ secrets.COOLIFY_WEBHOOK }}"
|
||||
|
||||
e2e:
|
||||
if: false # E2E tests need rewrite: auth moved from local login to OIDC (Logto). Tests still expect username/password flow.
|
||||
needs: ci
|
||||
|
||||
Reference in New Issue
Block a user