Merge pull request 'update deploy yml' (#11) from feature/syasya/testlayout into master
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 3m1s

Reviewed-on: #11
This commit is contained in:
Syasya 2025-08-25 10:10:43 +00:00
commit 1ec15ac214

View File

@ -27,8 +27,7 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
env:
NEXT_PUBLIC_FASTAPI_URL: ${{ secrets.NEXT_PUBLIC_FASTAPI_URL }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v5
@ -38,6 +37,8 @@ jobs:
push: true
tags: |
rooftopenergy/powermeter-frontend:${{ steps.extract_tag.outputs.tag }}
env:
NEXT_PUBLIC_FASTAPI_URL: ${{ secrets.NEXT_PUBLIC_FASTAPI_URL }}
- name: SSH and Deploy
uses: appleboy/ssh-action@master