Render the source blocks as shell code
This commit is contained in:
parent
2affe28170
commit
5ac3eed54c
|
@ -19,7 +19,7 @@ Once the prerequisites have been met, hosting the function locally requires an
|
||||||
invocation of the new `cargo func` command: `cargo func run --port 8100`
|
invocation of the new `cargo func` command: `cargo func run --port 8100`
|
||||||
|
|
||||||
.Sending test data
|
.Sending test data
|
||||||
[source]
|
[source,sh]
|
||||||
----
|
----
|
||||||
curl -XPOST --data @events.push.json http://localhost:8100/api/webhook
|
curl -XPOST --data @events.push.json http://localhost:8100/api/webhook
|
||||||
----
|
----
|
||||||
|
@ -32,7 +32,7 @@ link:https://github.com/rtyler[rtyler].
|
||||||
If you wish to deploy this yourself, you will need to configure an Azure
|
If you wish to deploy this yourself, you will need to configure an Azure
|
||||||
Functions App (Classic) and your own registry.
|
Functions App (Classic) and your own registry.
|
||||||
|
|
||||||
[source]
|
[source,sh]
|
||||||
----
|
----
|
||||||
docker build -t functionsbrokencode.azurecr.io/irc-push . && docker push functionsbrokencode.azurecr.io/irc-push
|
docker build -t functionsbrokencode.azurecr.io/irc-push . && docker push functionsbrokencode.azurecr.io/irc-push
|
||||||
----
|
----
|
||||||
|
|
Loading…
Reference in New Issue