Fix for production deployment.
@@ -73,7 +73,7 @@ jobs:
run: ./.ci/style-and-lint.sh
- name: Import GPG Key
- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }}
+ if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags/')) }}
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.GPG_DEPLOY_PRIVATE_KEY }}
