Era TOC bump #205
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
--- | |
name: Export Translations | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: {} | |
jobs: | |
build: | |
if: github.repository_owner == 'Total-RP' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Install Python dependencies | |
run: pip install -r .github/scripts/requirements.txt | |
- name: Export Translations | |
run: make translations-export | |
env: | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
- name: Send Webhook Notification | |
if: failure() | |
run: | | |
git clone https://github.com/DiscordHooks/github-actions-discord-webhook.git webhook | |
bash webhook/send.sh $JOB_STATUS $WEBHOOK_URL | |
env: | |
JOB_STATUS: ${{ job.status }} | |
HOOK_OS_NAME: ${{ runner.os }} | |
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} | |
WORKFLOW_NAME: ${{ github.workflow }} |