Compare commits

...

5 Commits

Author SHA1 Message Date
1ec15ac214 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
2025-08-25 10:10:43 +00:00
dca62ebe8b Merge branch 'master' into feature/syasya/testlayout
All checks were successful
PR Build Check / build (pull_request) Successful in 2m16s
2025-08-25 10:08:08 +00:00
b49e4b5b2f Merge branch 'master' into feature/syasya/testlayout
Some checks failed
PR Build Check / build (pull_request) Failing after 1m46s
2025-08-25 10:05:41 +00:00
3fc57ad117 Merge branch 'master' into feature/syasya/testlayout
All checks were successful
PR Build Check / build (pull_request) Successful in 2m14s
2025-08-25 09:55:52 +00:00
354e12d365 update deploy yml
All checks were successful
PR Build Check / build (pull_request) Successful in 2m10s
2025-08-25 17:53:09 +08:00

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
@ -55,4 +56,4 @@ jobs:
docker compose down
docker compose pull
docker compose up -d