Skip to content

Instantly share code, notes, and snippets.

@arshul
Created May 4, 2019 17:55
Show Gist options
  • Save arshul/58818263ccb44b119fad78f3c4b83a6d to your computer and use it in GitHub Desktop.
Save arshul/58818263ccb44b119fad78f3c4b83a6d to your computer and use it in GitHub Desktop.
workflow "Create Record" {
resolves = "publish"
}
action "create" {
uses = "popperized/zenodo/create@master"
secrets = ["ZENODO_API_TOKEN"]
env = {
ZENODO_METADATA_PATH = "./metadata.json"
}
}
action "upload" {
needs = "create"
uses = "popperized/zenodo/upload@master"
secrets = ["ZENODO_API_TOKEN"]
env = {
ZENODO_UPLOAD_PATH = "./files"
}
}
action "publish" {
needs="upload"
uses = "popperized/zenodo/publish@master"
secrets = [ "ZENODO_API_TOKEN" ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment