In addition to that change the cron and remove localization to test this in a second
This commit is contained in:
Archi
2021-05-22 16:18:19 +02:00
parent c9c33de266
commit e8136490c8
2 changed files with 20 additions and 760 deletions

View File

@@ -2,7 +2,7 @@ name: ASF-translations
on:
schedule:
- cron: '5 2 * * *'
- cron: '21 14 * * *'
jobs:
update:
@@ -36,6 +36,16 @@ jobs:
project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }}
token: ${{ secrets.ASF_CROWDIN_API_TOKEN }}
- name: Import GPG key for wiki
uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{ secrets.ARCHIBOT_GPG_PRIVATE_KEY }}
git-user-signingkey: true
git-commit-gpgsign: true
git-tag-gpgsign: true
git-push-gpgsign: true
workdir: wiki
- name: Commit the changes to wiki
shell: sh
run: |
@@ -43,9 +53,6 @@ jobs:
cd wiki
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A "locale"
if ! git diff --cached --quiet; then
@@ -60,14 +67,20 @@ jobs:
directory: wiki
repository: ${{ github.repository }}.wiki
- name: Import GPG key for ASF
uses: crazy-max/ghaction-import-gpg@v3
with:
gpg-private-key: ${{ secrets.ARCHIBOT_GPG_PRIVATE_KEY }}
git-user-signingkey: true
git-commit-gpgsign: true
git-tag-gpgsign: true
git-push-gpgsign: true
- name: Commit the changes to ASF
shell: sh
run: |
set -eu
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A "ArchiSteamFarm/Localization" "ArchiSteamFarm.OfficialPlugins.SteamTokenDumper/Localization" "wiki"
if ! git diff --cached --quiet; then