Skip to content

Commit a077aab

Browse files
committed
Add setup step for signing key in CI/CD pipeline
1 parent fd4cc16 commit a077aab

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/cd.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ jobs:
104104
ruby-version: 3.0
105105
bundler-cache: true
106106

107+
- name: 🔑 Set up Signing Key
108+
run: |
109+
touch app/key.jks
110+
echo "${KEYSTORE// /}" | base64 --decode > app/key.jks
111+
touch keystore.properties
112+
echo "${KEYSTORE_PROPERTIES// /}" | base64 --decode > keystore.properties
113+
env:
114+
KEYSTORE: ${{ secrets.KEYSTORE }}
115+
KEYSTORE_PROPERTIES: ${{ secrets.KEYSTORE_PROPERTIES }}
116+
107117
- name: 📝 Create GitHub Release
108118
uses: softprops/action-gh-release@v2
109119
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)