|
@@ -15,15 +15,19 @@ jobs:
|
|
|
steps:
|
|
steps:
|
|
|
- name: Checkout code
|
|
- name: Checkout code
|
|
|
uses: actions/checkout@v3
|
|
uses: actions/checkout@v3
|
|
|
|
|
+ if: github.repository == 'hestiacp/hestiacp'
|
|
|
- name: Build hestiacp.pot
|
|
- name: Build hestiacp.pot
|
|
|
|
|
+ if: github.repository == 'hestiacp/hestiacp'
|
|
|
run: |
|
|
run: |
|
|
|
sudo apt install gettext -y
|
|
sudo apt install gettext -y
|
|
|
cd ./web/locale
|
|
cd ./web/locale
|
|
|
bash ./hst_scan_i18n.sh
|
|
bash ./hst_scan_i18n.sh
|
|
|
- name: Commit new .pot file
|
|
- name: Commit new .pot file
|
|
|
|
|
+ if: github.repository == 'hestiacp/hestiacp'
|
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
|
- name: crowdin action
|
|
- name: crowdin action
|
|
|
uses: crowdin/github-action@v1
|
|
uses: crowdin/github-action@v1
|
|
|
|
|
+ if: github.repository == 'hestiacp/hestiacp'
|
|
|
with:
|
|
with:
|
|
|
upload_sources: true
|
|
upload_sources: true
|
|
|
upload_translations: false
|
|
upload_translations: false
|