Update localization.br.lua (#473) #2418
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: CI | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- "*" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Testing | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install and run Luacheck | |
uses: nebularg/actions-luacheck@v1 | |
with: | |
args: "--no-color -q" | |
- name: Send Status to Discord | |
uses: nebularg/actions-discord-webhook@v1 | |
with: | |
webhook_url: ${{ secrets.DISCORD_WEBHOOK }} | |
status: ${{ job.status }} | |
if: ${{ github.event_name != 'pull_request' && failure() }} | |
deploy: | |
name: Deployment | |
runs-on: ubuntu-latest | |
if: ${{ github.event_name != 'pull_request' }} | |
needs: | |
- test | |
strategy: | |
fail-fast: false | |
matrix: | |
repo: ['DBM-Retail'] | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
repository: 'DeadlyBossMods/${{ matrix.repo }}' | |
ref: 'master' | |
token: ${{ secrets.PERSONAL_TOKEN }} | |
- name: Deploy on ${{ matrix.repo }} | |
run: | | |
COMMIT_MESSAGE=$(cat <<'EOF' | |
${{ github.event.head_commit.message }} | |
EOF | |
) | |
COMMIT_MESSAGE=$(echo $COMMIT_MESSAGE | sed 's/"/\\"/g') | |
cd /home/runner/work/DBM-Unified/${{ matrix.repo }} | |
git remote set-url origin "https://${{ secrets.PERSONAL_TOKEN }}@github.com/DeadlyBossMods/${{ matrix.repo }}.git" | |
git config user.email "${{ github.event.head_commit.author.email }}" | |
git config user.name "${{ github.event.head_commit.author.username }}" | |
git commit --allow-empty -m "$COMMIT_MESSAGE" | |
git push origin HEAD:master |