Compare commits

..

3 Commits

Author SHA1 Message Date
jobayer
e55855f018 Merge branch 'main' of https://git.dghs.gov.bd/gitadmin/BD-Core-FHIR-IG
Some checks failed
Deploy on production / deploy (push) Failing after 6s
2025-09-28 16:15:57 +06:00
jobayer
7a4fd7c267 Fix: Replace password with SSH key for production deployment 2025-09-28 16:14:35 +06:00
jobayer
5d6f95f12e Feat: Add deployment workflow for production environment 2025-09-28 16:02:39 +06:00

View File

@ -0,0 +1,21 @@
name: Deploy on production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy by SSH to production environment
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.PRODUCTION_SSH_HOST }}
username: ${{ secrets.PRODUCTION_SSH_USERNAME }}
key: ${{ secrets.PRODUCTION_SSH_KEY }}
port: ${{ secrets.PRODUCTION_SSH_PORT }}
script: |
cd /home/mishealth/BD-Core-FHIR-IG
git pull origin main
bash _genonce.sh