5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-09 00:30:26 +00:00

test converting build artifacts from api into links

This commit is contained in:
Arceliar 2018-03-12 17:31:52 -05:00
parent ff350467be
commit f1d0a8a0b1

20
builds.md Normal file
View 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>