CI: Optimize GPG step in translations

Now it should be possible thanks to V3.2 and https://github.com/crazy-max/ghaction-import-gpg/issues/92
This commit is contained in:
Archi
2021-08-10 12:17:02 +02:00
parent cd716f4cdf
commit 433732cd3b

View File

@@ -37,13 +37,13 @@ jobs:
project_id: ${{ secrets.ASF_CROWDIN_PROJECT_ID }}
token: ${{ secrets.ASF_CROWDIN_API_TOKEN }}
- name: Import GPG key for wiki
- name: Import GPG key for signing
uses: crazy-max/ghaction-import-gpg@v3.2.0
with:
gpg-private-key: ${{ secrets.ARCHIBOT_GPG_PRIVATE_KEY }}
git-config-global: true
git-user-signingkey: true
git-commit-gpgsign: true
workdir: wiki
- name: Commit the changes to wiki
shell: sh
@@ -66,13 +66,6 @@ jobs:
directory: wiki
repository: ${{ github.repository }}.wiki
- name: Import GPG key for ASF
uses: crazy-max/ghaction-import-gpg@v3.2.0
with:
gpg-private-key: ${{ secrets.ARCHIBOT_GPG_PRIVATE_KEY }}
git-user-signingkey: true
git-commit-gpgsign: true
- name: Commit the changes to ASF
shell: sh
run: |