Moji: Update Microcopy translations #1163
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/[email protected] | |
env: | |
WEBHOOK_URL: ${{ secrets.NETLIFY_BOXDEV_JP_WEBHOOK }} | |
data: "{}" | |
- name: Send Slack notification | |
uses: Ilshidur/[email protected] | |
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/[email protected] | |
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" |