crowdin.yml 724 B

123456789101112131415161718192021222324252627
  1. name: Crowdin
  2. on:
  3. workflow_dispatch:
  4. jobs:
  5. update-pot:
  6. name: Update .pot file
  7. runs-on: ubuntu-latest
  8. permissions:
  9. contents: write
  10. steps:
  11. - name: Checkout code
  12. uses: actions/checkout@v6
  13. if: github.repository == 'hestiacp/hestiacp'
  14. - name: crowdin action
  15. uses: crowdin/github-action@v2
  16. if: github.repository == 'hestiacp/hestiacp'
  17. with:
  18. upload_sources: true
  19. upload_translations: false
  20. download_translations: false
  21. env:
  22. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  23. CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
  24. CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}