fix: secret

Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
Vitor Mattos 2024-07-08 13:56:03 -03:00
parent d65b4550ba
commit 9dc530e891
No known key found for this signature in database
GPG key ID: B7AB4B76A7CA7318
3 changed files with 2 additions and 1 deletions

View file

@ -144,6 +144,7 @@ jobs:
# Setting up keys
mkdir -p build/tools/certificates/
echo '${{ secrets.APP_PRIVATE_KEY }}' > build/tools/certificates/${{ env.APP_NAME }}.key
ls -la build/tools/certificates/
make appstore
- name: Sign app

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
.idea
.vscode
.env
.secrets
*.iml
/vendor/
/vendor-bin/**/vendor/

View file

@ -125,7 +125,6 @@ appstore:
--admin-pass admin; \
$(occ) --version; \
$(occ) app:enable --force libresign; \
printf '%s\n' "$$APP_PRIVATE_KEY" > $(cert_dir)/$(app_name).key ; \
echo "🏁 Setup finished"; \
fi