mirror of
https://wiilab.wiimart.org/wiimart/dsimart/dsimart.org
synced 2025-09-02 19:41:00 +02:00
Update file .gitlab-ci.yml
This commit is contained in:
parent
bb2de45ec9
commit
3f8415d59e
12
.gitlab-ci.yml
Normal file
12
.gitlab-ci.yml
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user