diff --git a/.github/workflows/update-submodule-files.yml b/.github/workflows/update-submodule-files.yml index ded14e1..2bebeb8 100644 --- a/.github/workflows/update-submodule-files.yml +++ b/.github/workflows/update-submodule-files.yml @@ -26,9 +26,12 @@ jobs: python-version: '3.x' - name: Import GPG key + env: + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} run: | - echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import - echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --passphrase-fd 0 --pinentry-mode loopback --edit-key F768450FB05B817D0B4BC26FB9B6A9B428C8676A trust quit + echo "$GPG_PRIVATE_KEY" | gpg --batch --import + echo "$GPG_PASSPHRASE" | gpg --batch --yes --passphrase-fd 0 --pinentry-mode loopback --edit-key F768450FB05B817D0B4BC26FB9B6A9B428C8676A trust quit - name: Run update script run: python update_repo.py