Created
January 10, 2020 00:26
-
-
Save josefaidt/7a6db00faa74c887ea9c704f116a8f33 to your computer and use it in GitHub Desktop.
Gets file contents from a repository folder
This file contains hidden or 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
{ | |
repository(name: "josefaidt.github.io", owner: "josefaidt") { | |
folder: object(expression: "master:app/content/pages") { | |
... on Tree { | |
entries { | |
oid | |
object { | |
... on Blob { | |
text | |
} | |
} | |
name | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment