fix: deploy frontend to coolify (#779)

* Ignore act secrets

* Deploy frontend container to ECR

* Use published image

* Remove ecr workflows

* Trigger coolify deployment

* Deploy on release please pr merge

* Upgrade nextjs

* Update secrets example
This commit is contained in:
2025-12-10 13:35:53 +01:00
committed by GitHub
parent 61f0e29d4c
commit 91650ec65f
8 changed files with 104 additions and 159 deletions

View File

@@ -1,13 +1,12 @@
name: Build and Push Backend Docker Image (Docker Hub)
on:
push:
branches:
- main
- dockerhub-2
pull_request:
types:
- closed
paths:
- 'server/**'
- '.github/workflows/dockerhub-backend.yml'
- "server/**"
- ".github/workflows/dockerhub-backend.yml"
workflow_dispatch:
env:
@@ -17,6 +16,10 @@ env:
jobs:
build-and-push:
runs-on: ubuntu-latest
if: |
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
startsWith(github.event.pull_request.head.ref, 'release-please--branches--'))
permissions:
contents: read