Skip to content

Commit

Permalink
Extract as command, fix channel definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
t-paul committed Mar 15, 2023
1 parent 5631187 commit 2915a87
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions .circleci/config.yml
@@ -1,6 +1,19 @@
version: 2.1
orbs:
irc: circleci/irc@0.2.0
commands:
irc_notify:
description: "Send message to IRC"
parameters:
message:
type: string
steps:
- irc/notify:
server: irc.libera.chat
port: 6697
channel: openscad
nick: openscad-ci-bot
message: << parameters.message >>
jobs:
openscad-mxe-32bit:
working_directory: ~/workspace
Expand Down Expand Up @@ -69,12 +82,8 @@ jobs:
- store_artifacts:
path: /tmp/out
destination: 64-bit
- irc/notify:
server: irc.libera.chat
port: 6697
channel: #openscad
nick: openscad-ci-bot
message: AppImage Build complete! ${CIRCLE_BRANCH}
- irc_notify:
message: Windows Application (64bit) Build complete! ${CIRCLE_BRANCH}
openscad-appimage-64bit:
working_directory: ~/workspace
docker:
Expand Down Expand Up @@ -115,6 +124,8 @@ jobs:
- store_artifacts:
path: /tmp/out
destination: 64-bit
- irc_notify:
message: AppImage (64bit) Build complete! ${CIRCLE_BRANCH}
openscad-wasm:
working_directory: ~/workspace
docker:
Expand Down

0 comments on commit 2915a87

Please sign in to comment.