Skip to content

Commit

Permalink
action env에 선언
Browse files Browse the repository at this point in the history
  • Loading branch information
young-do committed Aug 19, 2024
1 parent ea9f9cb commit 415beb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
APPLE_API_KEY=$(realpath authKey.p8)
echo "APPLE_API_KEY=$APPLE_API_KEY" >> $GITHUB_ENV
- name: build
env:
APPLE_API_KEY: ${{ env.APPLE_API_KEY }}
APPLE_API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}
APPLE_API_ISSUER: ${{ secrets.APPLE_API_ISSUER }}
run: npm run make
# - name: publish
# env:
Expand Down
2 changes: 1 addition & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import dotenv from 'dotenv';

dotenv.config();

console.log('issuer', (process.env.APPLE_API_ISSUER ?? '').length);
console.log('@@api key', (process.env.APPLE_API_KEY ?? '').length);

const config: ForgeConfig = {
packagerConfig: {
Expand Down

0 comments on commit 415beb7

Please sign in to comment.