Skip to content

WIP: test release

WIP: test release #52

Workflow file for this run

name: build
# This workflow is triggered on pushes to the repository.
on: [push, pull_request]
jobs:
build:
name: build-job
runs-on: ubuntu-latest
steps:
- name: Slack Notify Build
continue-on-error: true
uses: voxmedia/[email protected]
id: slack
with:
channel: ci
status: STARTED
color: good
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
- name: Checkout repo
uses: actions/checkout@v2
- name: Test
run: make test
- name: Docker Build
run: make build
- name: Notify Slack Success
continue-on-error: true
if: success()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/[email protected]
with:
message_id: ${{ steps.slack.outputs.message_id }}
channel: ci
status: SUCCESS
color: good
- name: Notify Slack Fail
continue-on-error: true
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/[email protected]
with:
message_id: ${{ steps.slack.outputs.message_id }}
channel: ci
status: FAILED
color: danger