Created
May 4, 2019 17:55
-
-
Save arshul/58818263ccb44b119fad78f3c4b83a6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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