This commit is contained in:
+2
-1
@@ -16,7 +16,8 @@ steps:
|
|||||||
- chmod 700 /root/.ssh
|
- chmod 700 /root/.ssh
|
||||||
- chmod 600 /root/.ssh/id_ed25519
|
- chmod 600 /root/.ssh/id_ed25519
|
||||||
- cd /live-site
|
- cd /live-site
|
||||||
- git pull origin main
|
- git fetch origin main
|
||||||
|
- git reset --hard origin/main
|
||||||
- docker restart bytegeist-portfolio
|
- docker restart bytegeist-portfolio
|
||||||
- git log -1 --oneline
|
- git log -1 --oneline
|
||||||
- echo "Deploy complete"
|
- echo "Deploy complete"
|
||||||
|
|||||||
Reference in New Issue
Block a user