diff --git a/.github/workflows/deploy-ec2.yml b/.github/workflows/deploy-ec2.yml index 2b05401..7034a23 100644 --- a/.github/workflows/deploy-ec2.yml +++ b/.github/workflows/deploy-ec2.yml @@ -18,7 +18,7 @@ on: - 'README.md' jobs: - build-app: + build-and-deploy: runs-on: ubuntu-22.04 steps: - name: Checkout code @@ -40,37 +40,10 @@ jobs: - name: Save application image run: | - docker save -o junohub-app_latest.tar ${{ env.IMAGE_NAME }}:latest + mkdir -p docker + docker save -o docker/junohub-app_latest.tar ${{ env.IMAGE_NAME }}:latest echo "✅ Saved application image" - - name: Upload application image - uses: actions/upload-artifact@v4 - with: - name: app-image - path: junohub-app_latest.tar - - deploy: - runs-on: ubuntu-22.04 - needs: [build-app] - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Download application image - uses: actions/download-artifact@v4 - with: - name: app-image - path: docker - - - name: Verify image tar - run: | - if [ ! -f docker/junohub-app_latest.tar ]; then - echo "ERROR: Application image tar missing after download" - ls -la docker/ || true - exit 1 - fi - echo "✅ Application image tar ready for deploy" - - name: Set up environment file run: | # Base env for production container diff --git a/src/app/dashboard/juno-engine/email-templates/page.tsx b/src/app/dashboard/juno-engine/email-templates/page.tsx index 9e460d9..a047173 100644 --- a/src/app/dashboard/juno-engine/email-templates/page.tsx +++ b/src/app/dashboard/juno-engine/email-templates/page.tsx @@ -189,7 +189,7 @@ export default function EmailTemplatesPage() { : "" return ( -
+
Use {"{{variable}}"} placeholders to personalize replies.
+
Available variables
+
{"{{customer_name}}"}
{" "}
– Customer’s name
+
{"{{customer_email}}"}
{" "}
– Customer’s email
+
{"{{store_name}}"}
{" "}
– Store name
+
{"{{ticket_summary}}"}
{" "}
– Short summary of the customer’s email
@@ -439,7 +439,7 @@ export default function EmailTemplatesPage() {
+
Preview with example data
-+
Templates use simple {"{{variable}}"} placeholders only.