Add custom views to your repository by following the instructions in this template.
README.md
Custom Views Template
This simple template includes two files that are essential for creating Custom Views. Duplicate this repository to your own account and customize the files to fit your workflow.
-
.xethub/workflows/main.yml
- The Actions workflow that triggers the creation of a custom view by calling a script on push events to the main branch of the repo. Customize the trigger, script, or any other setup you'd like around the Actions workflow in this file. -
run.sh
- This bash script is a wrapper around your code that pushes generated images to thecustom_views
branch. Search for the word “Customize” in the file and update the associated lines to fit your workflow.- The example assumes CSV data files, view generating code in
run.py
, and dependencies inrequirements.txt
. Update the script with your own relevant file types, custom code files, and dependencies in any language of your choice.
- The example assumes CSV data files, view generating code in
Learn more about Custom Views through our docs or visit an example of Custom Views in action.
File List | Total items: 4 | ||
---|---|---|---|
Name | Last Commit | Size | Last Modified |
.xethub/workflows | |||
.gitattributes | |||
README.md | |||
run.sh |
About
Add custom views to your repository by following the instructions in this template.