Update file .gitlab-ci.yml

This commit is contained in:
Selim Gozel 2025-05-29 16:33:16 +00:00
parent bb2de45ec9
commit 3f8415d59e

12
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,12 @@
stages:
- deploy
deploy:
stage: deploy
tags:
- shell
before_script:
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/id_ed25519
- chmod 600 ~/.ssh/id_ed25519
script:
- ssh deploy "cd /var/www/dsimart.org && git pull && sudo systemctl reload httpd"