Deploy remote

dev
timofejmalinin 3 years ago
parent dc7ce801b6
commit 2f963983d7

@ -27,11 +27,11 @@ build-remote:
only: only:
- main - main
script: script:
- cd /home/toren332/property/ - cd /home/toren332/postamates/
- sudo git fetch - sudo git fetch
- sudo git reset --hard origin/main - sudo git reset --hard origin/main
- sudo git submodule foreach git pull origin main - sudo git submodule foreach git pull origin main
- sudo git add property_frontend - sudo git add postamates_frontend
- sudo git commit -m "new frontend" - sudo git commit -m "new frontend"
- sudo git push - sudo git push
tags: tags:
@ -42,7 +42,7 @@ deploy-remote:
only: only:
- main - main
script: script:
- cd /home/toren332/property/ - cd /home/toren332/postamates/
- sudo docker-compose down - sudo docker-compose down
- sudo git fetch - sudo git fetch
- sudo git reset --hard origin/main - sudo git reset --hard origin/main

Loading…
Cancel
Save