Skip to content

Commit 8ec6b37

Browse files
committed
doc: document new custopizer action parameter
1 parent b8825d7 commit 8ec6b37

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,17 @@ you can do that via the `config` parameter:
136136
config: "${{ github.workspace }}/config.local"
137137
```
138138

139+
And finally, you may also provide the tag or digest to use for CustoPiZer itself - helpful if you want to run dev versions, e.g. those built from the `main` branch:
140+
141+
``` yaml
142+
- name: Run CustoPiZer
143+
uses: OctoPrint/CustoPiZer@main
144+
with:
145+
workspace: "${{ github.workspace }}/build"
146+
scripts: "${{ github.workspace }}/scripts"
147+
custopizer: "main"
148+
```
149+
139150
For a complex example usage that also includes repository dispatch, creating releases and attaching assets, take a look at the scripts and workflow of [OctoPrint/OctoPi-UpToDate](https://github.com/OctoPrint/OctoPi-UpToDate).
140151

141152
## Writing customization scripts

0 commit comments

Comments
 (0)