diff --git a/.github/workflows/auto_build.yml b/.github/workflows/auto_build.yml index bb688291c..7622b1da7 100644 --- a/.github/workflows/auto_build.yml +++ b/.github/workflows/auto_build.yml @@ -11,6 +11,8 @@ jobs: Updating_dist: runs-on: ubuntu-latest concurrency: build_dists + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} steps: - name: Check out repository code uses: actions/checkout@v2 @@ -18,8 +20,10 @@ jobs: uses: oleksiyrudenko/gha-git-credentials@v2.1 with: global: true - with: - token: '${{ secrets.GH_TOKEN }}' + name: 'Dichvucoder' + email: 'dichvucoder@gmail.com' + actor: 'Dichvucoder' + token: '${{ secrets.GH_TOKEN }}' - name: updating and signing releases file env: diff --git a/scripts/dist_handler.sh b/scripts/dist_handler.sh index 74b171975..91e33eaa1 100755 --- a/scripts/dist_handler.sh +++ b/scripts/dist_handler.sh @@ -186,8 +186,8 @@ sign_release_file() { fi echo "Signing Release file" - gpg --passphrase "$(echo -n $SEC_PASS | base32 --decode)" --batch --yes --pinentry-mode loopback -u 43EEC3A2934343315717FF6F6A5C550C260667D1 -bao ./Release.gpg Release - gpg --passphrase "$(echo -n $SEC_PASS | base32 --decode)" --batch --yes --pinentry-mode loopback -u 43EEC3A2934343315717FF6F6A5C550C260667D1 --clear-sign --output InRelease Release + gpg --passphrase "$(echo -n $SEC_PASS | base32 --decode)" --batch --yes --pinentry-mode loopback -u CA3D655ADBDBB49C3912F8F4F7F54014307A2954 -bao ./Release.gpg Release + gpg --passphrase "$(echo -n $SEC_PASS | base32 --decode)" --batch --yes --pinentry-mode loopback -u CA3D655ADBDBB49C3912F8F4F7F54014307A2954 --clear-sign --output InRelease Release } download_unprocessed_debs create_dist_structure