Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mrf0rtuna4/HeypersRP
Browse files Browse the repository at this point in the history
  • Loading branch information
mrf0rtuna4 committed May 21, 2024
2 parents 2ce8885 + eba2e46 commit c0b685b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Generate Localized Readme # The name of your action

on:
schedule: # Scheduled start
- cron: "0 */24 * * *" # Every 24 hours

workflow_dispatch: # Manual start
push: # Run when committing to a branch
branches:
- master # Set the name of your branch if required

jobs:
translate: # Task name
runs-on: ubuntu-latest # Running on an Ubuntu image
steps:
- name: Checkout code # Step: code check
uses: actions/checkout@v2 # Using an action to test the code

- name: Run translation # Step: start the translation
uses: mrf0rtuna4/Github-Readme-AutoTranslator@v1.2.0 # Using an action to translate
env:
GITHUB_TOKEN: ${{ secrets.GTK }} # Transferring a GitHub access token

# List of languages to be translated
LANGS: 'serbian,italian,english'

- name: Push to GitHub # Step: Submit changes to GitHub
uses: crazy-max/ghaction-github-pages@v3.1.0 # Using an action to publish to GitHub Pages
with:
target_branch: translations # The branch to which the changes will be sent
build_dir: 'dist' # The directory with the collected files
env:
GITHUB_TOKEN: ${{ secrets.GTK }} # Transferring a GitHub access token
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

## Ссылки

| [Скачать HeypersRP](https://github.com/mrf0rtuna4/HeypersRP/tags) | [Документация](https://github.com/mrf0rtuna4/HeypersRP/blob/master/Documentation.md) |
| [Скачать HeypersRP](https://github.com/mrf0rtuna4/HeypersRP/tags](https://modrinth.com/resourcepack/heypersrp) | [Документация](https://github.com/mrf0rtuna4/HeypersRP/blob/master/Documentation.md) |

## Используемые ресурсы:

Expand Down

0 comments on commit c0b685b

Please sign in to comment.