Skip to content

Commit

Permalink
test new language ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoheml authored Jan 25, 2024
1 parent 7903ca2 commit fb36a15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/language-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,20 @@ jobs:
name: Extract folder name of the path
id: folder-name
run: |
echo "FOLDER_NAME=$(dirname "${{ matrix.value }}")" >> $GITHUB_ENV
echo "REPOSITORY=$(echo "${{ matrix.value }}" | cut -d'/' -f 1) " >> $GITHUB_ENV
echo "TARGET_FOLDER=$(echo "${{ matrix.value }}" | cut -d'/' -f 2-) " >> $GITHUB_ENV
echo "REPOSITORY=${{ env.REPOSITORY }} "
echo "TARGET_FOLDER=${{ env.TARGET_FOLDER }} "
-
name: Push file
uses: dmnemec/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.PAT }}
with:
source_file: ${{ matrix.value }}
destination_repo: ${{ github.REPOSITORY_OWNER }}/${{ env.FOLDER_NAME }}
destination_folder: lua/${{ env.FOLDER_NAME }}/languages
destination_repo: ${{ github.REPOSITORY_OWNER }}/${{ env.REPOSITORY }}
destination_folder: lua/${{ env.TARGET_FOLDER }}
user_email: [email protected]
user_name: github-actions
commit_message: Synchronize language from public repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,5 @@ AAS.Language["de"] = {
["descHorseMask"] = "ICH BIN EIN PFERD UWUWUWU",
["descHorseMask2"] = "ICH BIN EIN PFERD UWUWUWU",
["descHorseMask3"] = "ICH BIN EIN PFERD UWUWUWU",
["descRussianHat"] = "Hardbass für immer epta!"
["descRussianHat"] = "Hardbass für immer epta!",
}

0 comments on commit fb36a15

Please sign in to comment.