diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 1307f18..4c24c87 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -1,9 +1,9 @@ name: Deploy on production - on: push: branches: - main + jobs: deploy: runs-on: ubuntu-latest @@ -18,4 +18,6 @@ jobs: script: | cd /home/mishealth/BD-Core-FHIR-IG git pull origin main - bash _genonce.sh \ No newline at end of file + docker run --rm -v $(pwd):/home/publisher/ig hl7fhir/ig-publisher-base:latest /home/publisher/ig/_genonce.sh + cp -r output/* /var/www/html/ + sudo systemctl restart nginx \ No newline at end of file