Skip to content

Remove routes that are no longer needed #43

Remove routes that are no longer needed

Remove routes that are no longer needed #43

Workflow file for this run

name: Deploy and Notify
on:
push:
branches:
- 'release/**'
- 'main'
jobs:
announce-on-release:
name: Announce Deploy to Slack for Release Branch
environment: Staging
if: ${{ github.ref != 'refs/heads/main' && contains(github.ref, 'release/') }}
runs-on: ubuntu-latest
steps:
- name: Announce to Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: ${{ github.actor }}
text: "There is a deployment to *${{ github.ref }}* underway :oooo:"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
announce-on-main-merge:
name: Announce Merge to Main on Slack channel
environment: Production
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Announce to Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: ${{ github.actor }}
text: "A release branch has just been merged to *main* :tada:"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}