Skip to content

added red to all messages in disbanded.owner.left.json #6

added red to all messages in disbanded.owner.left.json

added red to all messages in disbanded.owner.left.json #6

name: Generate and Upload Translations
on:
push:
branches:
- main
workflow_dispatch:
jobs:
generate-and-upload:
runs-on:
- self-hosted
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Generate Translations
run: node generator.js
- name: Upload Translations
env:
UPLOAD_TOKEN: ${{ secrets.UPLOAD_TOKEN }}
run: |
curl -X POST https://object-storage.epilogue.team/upload/translations.json \
-H "Upload-Token: $UPLOAD_TOKEN" \
-H "Overwrite: true" \
-H "Content-Type: application/json" \
--data-binary @translations.generated.json