CI/CD Deployment
Build & Push Docker Images / test-backend (push) Successful in 21s
Build & Push Docker Images / test-frontend (push) Successful in 23s
Build & Push Docker Images / build-backend (push) Successful in 17s
Build & Push Docker Images / build-frontend (push) Successful in 16s
Build & Push Docker Images / deploy (push) Successful in 33s
Build & Push Docker Images / test-backend (push) Successful in 21s
Build & Push Docker Images / test-frontend (push) Successful in 23s
Build & Push Docker Images / build-backend (push) Successful in 17s
Build & Push Docker Images / build-frontend (push) Successful in 16s
Build & Push Docker Images / deploy (push) Successful in 33s
This commit is contained in:
@@ -65,3 +65,19 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
git.hacecalor.net/ichitux/farmafinder-frontend:latest
|
git.hacecalor.net/ichitux/farmafinder-frontend:latest
|
||||||
git.hacecalor.net/ichitux/farmafinder-frontend:${{ gitea.sha }}
|
git.hacecalor.net/ichitux/farmafinder-frontend:${{ gitea.sha }}
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
needs: [ build ]
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: SSH to remote server
|
||||||
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
port: ${{ secrets.PORT }}
|
||||||
|
script: |
|
||||||
|
cd /docker/FarmaFinder
|
||||||
|
docker compose pull
|
||||||
|
docker compose up -d
|
||||||
|
|||||||
Reference in New Issue
Block a user