mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2025-03-01 02:51:34 +00:00
Update builds.md
This commit is contained in:
parent
dd197fdb97
commit
6a283c5a21
@ -17,9 +17,7 @@ For convenience, the [build artifacts](https://circleci.com/api/v1.1/project/git
|
|||||||
<!-- TODO sort these to a useful order of some kind -->
|
<!-- TODO sort these to a useful order of some kind -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
let url = 'https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdrasil-go/latest/artifacts?branch=master&filter=successful';
|
let url = 'https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdrasil-go/latest/artifacts?branch=master&filter=successful';
|
||||||
let json = fetch(url)
|
fetch(url).then(function(res) {
|
||||||
|
|
||||||
json.then(function(res) {
|
|
||||||
return res.json();
|
return res.json();
|
||||||
}).then(function (bins) {
|
}).then(function (bins) {
|
||||||
var links = document.createElement('p')
|
var links = document.createElement('p')
|
||||||
@ -38,8 +36,8 @@ json.then(function(res) {
|
|||||||
links.appendChild(document.createElement('br'));
|
links.appendChild(document.createElement('br'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
document.getElementById("buildArtifactLinks").appendChild(links)
|
document.getElementById("buildArtifactLinks").appendChild(links);
|
||||||
document.getElementById("buildArtifactLinksCtl").appendChild(ctllinks)
|
document.getElementById("buildArtifactLinksCtl").appendChild(ctllinks);
|
||||||
})
|
})
|
||||||
.catch(err => { throw err });
|
.catch(err => { throw err });
|
||||||
.catch(err => { throw err });
|
.catch(err => { throw err });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user