Skip to content

Moji: Update Microcopy translations #1076

Moji: Update Microcopy translations

Moji: Update Microcopy translations #1076

Workflow file for this run

# The name of this GH action
name: Notify
# Defines when this action should be run
on:
# Run on any Push
push:
branches:
- jp
jobs:
# A task that notifies Netlify of changes to the jp branch
notify-from-jp:
# We run this on the latest ubuntu
runs-on: ubuntu-latest
timeout-minutes: 3
strategy:
matrix:
node-version: [14.x]
steps:
- name: "Trigger Netlify deployment"
uses: joelwmale/webhook-action@2.0.2
env:
WEBHOOK_URL: ${{ secrets.NETLIFY_BOXDEV_JP_WEBHOOK }}
data: "{}"
- name: Send Slack notification
uses: Ilshidur/action-slack@2.0.2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: GitHub Actions
SLACK_AVATAR: "https://avatars3.githubusercontent.com/u/8659759?s=200&v=4"
with:
args: "Pushed latest Markdown to `jp` branch :rocket:"
- name: Send Slack notification
uses: Ilshidur/action-slack@2.0.2
if: ${{ failure() }}
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: GitHub Actions
SLACK_AVATAR: "https://avatars3.githubusercontent.com/u/8659759?s=200&v=4"
with:
args: "Error running `deploy-jp` job in OpenAPI CI"