Skip to content

A simple CloudFlare worker that redirects to a latest artifact in a public CircleCI build.

Notifications You must be signed in to change notification settings

dtinth/latest-circleci-artifacts-cloudflare-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

latest-circleci-artifacts-cloudflare-worker

A simple CloudFlare worker that redirects to a latest artifact in a public CircleCI build.

I want to create a URL that will represent a CircleCI artifact in the latest project build, so that I can link to it from README files. Unfortunately CircleCI does not have a URL that links to latest artifact of a project however it does have an API to list the artifacts of the latest build in a given branch.

So what I needed to do is to create some endpoint that would take the project name and artifact’s path, and redirect to that artifact’s URL.

This is now very easy, now that we have CloudFlare workers! See worker.js for source code.

About

A simple CloudFlare worker that redirects to a latest artifact in a public CircleCI build.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published