Skip to content

refactor: translation #1084

refactor: translation

refactor: translation #1084

name: "deploy nightly"
on:
push:
branches:
- master
paths:
- "client/web/**"
- "client/shared/**"
- "client/packages/design/**"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: Inject Analytics
run: node ./client/web/build/inject-analytics.js
- name: Deploy Prod
uses: amondnet/vercel-action@master
env:
VERSION: ${{ env.GITHUB_SHA }}
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID}}
vercel-project-id: ${{ secrets.PROJECT_ID}}
working-directory: ./
vercel-args: '--prod'
- name: Notify to Service
continue-on-error: true
uses: muinmomin/[email protected]
with:
url: https://paw-server-nightly.moonrailgun.com/api/plugin:com.msgbyte.simplenotify/webhook/callback
data: '{"text": "The new version of the frontend code is deployed", "subscribeId": "${{ secrets.NOTIFY_SUB_ID}}"}'