Skip to content

Commit

Permalink
Bump elm.js version in index.html, make deploy.sh also build
Browse files Browse the repository at this point in the history
  • Loading branch information
kiriakos committed Aug 15, 2021
1 parent a59f03b commit 02dbe94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ echo "Syntax:
Deploying: $PRJ
"

# build

docker-compose build
docker-compose push

# use ./* to skip hidden files like .git
ssh ${HOST} mkdir -p /opt/web/${PRJ}
scp docker-compose.yml ${PRJ}.conf ${HOST}:/opt/web/${PRJ}/
Expand Down
2 changes: 1 addition & 1 deletion elm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
</head>

<body>
<script src="/elm.js?v=10"></script>
<script src="/elm.js?v=11"></script>
</body>
</html>

0 comments on commit 02dbe94

Please sign in to comment.