Ignore cache on GIT hash change (new commit or release) (#1787)

* Add hash to all html, css, and js URLs

* Update build.yaml

* Update build.yaml

* .

* .

Co-authored-by: CaCO3 <caco@ruinelli.ch>
This commit is contained in:
CaCO3
2023-01-08 19:18:21 +01:00
committed by GitHub
parent ee4832323d
commit 798f1423c3
30 changed files with 164 additions and 160 deletions

View File

@@ -30,7 +30,7 @@
font-size: small;
}
</style>
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="common.js?v=$COMMIT_HASH"></script>
</head>
<body>
<div class="box">
@@ -38,14 +38,14 @@
<button onClick="reload();">Reload</button>
<button onClick="window.open(getDomainname() + '/datafileact');">Show full data</button>
<button onClick="window.location.href = getDomainname() + '/fileserver/log/data/'">Show older data files</button>
<button onClick="window.location.href = 'graph.html'">Show graph</button>
<button onClick="window.location.href = 'graph.html?v=$COMMIT_HASH'">Show graph</button>
</div>
<div class="row content" id="data"><br><br><br><b>Loading Data file, please wait...</b></div>
<div class="row footer">
<button onClick="reload();">Reload</button>
<button onClick="window.open(getDomainname() + '/datafileact');">Show full data</button>
<button onClick="window.location.href = getDomainname() + '/fileserver/log/data/'">Show older data files</button>
<button onClick="window.location.href = 'graph.html'">Show graph</button>
<button onClick="window.location.href = 'graph.html?v=$COMMIT_HASH'">Show graph</button>
</div>
</div>
</body>