Remove github-push-action

This commit is contained in:
Łukasz Domeradzki 2024-09-16 16:18:01 +02:00
parent 1a74d83eae
commit cb4580c0d9
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA

View file

@ -50,7 +50,7 @@ jobs:
git_user_signingkey: true
git_commit_gpgsign: true
- name: Commit the changes to wiki
- name: Commit and push the changes to wiki
shell: sh
working-directory: wiki
run: |
@ -60,17 +60,11 @@ jobs:
if ! git diff --cached --quiet; then
git commit -m "Automatic translations update"
git push
fi
- name: Push changes to wiki
uses: ad-m/github-push-action@v0.8.0
with:
github_token: ${{ secrets.ARCHIBOT_GITHUB_TOKEN }}
branch: master
directory: wiki
repository: ${{ github.repository }}.wiki
- name: Commit the changes to ASF
- name: Commit and push the changes to ASF
shell: sh
run: |
set -eu
@ -79,10 +73,6 @@ jobs:
if ! git diff --cached --quiet; then
git commit -m "Automatic translations update"
fi
- name: Push changes to ASF
uses: ad-m/github-push-action@v0.8.0
with:
github_token: ${{ secrets.ARCHIBOT_GITHUB_TOKEN }}
branch: ${{ github.ref }}
git push
fi