mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2024-11-09 16:50:31 +00:00
test converting build artifacts from api into links
This commit is contained in:
parent
ff350467be
commit
f1d0a8a0b1
20
builds.md
Normal file
20
builds.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
tags: dontlink
|
||||||
|
---
|
||||||
|
|
||||||
|
# Builds
|
||||||
|
|
||||||
|
Build [artifacts](https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdrasil-go/latest/artifacts):
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
let url = 'https://circleci.com/api/v1.1/project/github/yggdrasil-network/yggdrasil-go/latest/artifacts';
|
||||||
|
|
||||||
|
fetch(url)
|
||||||
|
.then(res => res.json())
|
||||||
|
.then((bins) => {
|
||||||
|
for (var bin in bins) {
|
||||||
|
console.log("<a href=\"" + bin.url + "\">" + bin.path + "</a><br/>");
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.catch(err => { throw err });
|
||||||
|
</script>
|
Loading…
Reference in New Issue
Block a user