mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Closes #2327
In addition to that change the cron and remove localization to test this in a second
This commit is contained in:
27
.github/workflows/translations.yml
vendored
27
.github/workflows/translations.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user