Skip to content

Commit

Permalink
Fix CI workflow + add IRC notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Dec 19, 2020
1 parent 3200a83 commit 3a15990
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
with:
ruby-version: '2.5'

- uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install bundler
run: gem install bundler

Expand All @@ -51,3 +55,19 @@ jobs:
bundle exec jekyll --version
bundle exec jekyll build
python tests.py
on_complete:
name: Notify IRC on Completion
runs-on: ubuntu-latest
needs: tests
if: always()

steps:
- name: Send IRC notification
uses: allejo/supybot-notification-action@v1
with:
status: ${{ needs.tests.result }}
hostname: ${{ secrets.SUPYBOT_HOSTNAME }}
credentials: ${{ secrets.SUPYBOT_PASSWORD }}
channel: '#sujevo-dev'
default_message: true

0 comments on commit 3a15990

Please sign in to comment.