Skip to content

Commit cb3897a

Browse files
authored
merge: feature/cd-apple-key to develop
2 parents 2e4d420 + 9125619 commit cb3897a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cd-app-develop.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
source: deploy-artifacts.zip
4646
target: /root/organized/app/
4747
debug: true
48-
4948
- name: SSH into server and deploy
5049
uses: appleboy/[email protected]
5150
with:
@@ -57,5 +56,8 @@ jobs:
5756
rm -f core-api.tar docker-compose.app.yml
5857
unzip -o deploy-artifacts.zip
5958
rm -f deploy-artifacts.zip
59+
mkdir -p /root/organized/app/secret
60+
echo "${{ secrets.APPLE_SECRET_KEY_BASE64 }}" | base64 -d > /root/organized/app/secret/apple_auth_key.p8
61+
chmod 600 /root/organized/app/secret/apple_auth_key.p8
6062
docker load -i core-api.tar
6163
docker compose -f docker-compose.app.yml up -d

0 commit comments

Comments
 (0)