Skip to content
Snippets Groups Projects
Commit 15c7c9b2 authored by Eric Younger's avatar Eric Younger
Browse files

finished assignment

parent 5179430c
No related branches found
No related tags found
No related merge requests found
Pipeline #78614 passed
......@@ -26,6 +26,7 @@ flow:
deploy:
stage: deploy
script:
- mkdir ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
......@@ -35,5 +36,6 @@ deploy:
- apt-get update
- apt-get install --assume-yes rsync
- rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@129.241.96.121:app
- ssh app@129.241.96.121 systemctl --user restart app
only:
- master
\ No newline at end of file
......@@ -4,6 +4,6 @@
<meta charset="UTF-8" />
</head>
<body>
This is App updated22
This is App updated with restart enabled
</body>
</html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment