Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSeage committed Jan 16, 2024
1 parent dc56df0 commit 40eabf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/generate-page-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
with:
node-version: 18.17.0
- run: pnpm install
- run: echo "LOCALE=${{ github.event.inputs.locale }}" >> $GITHUB_ENV
- run: pnpm ts-node scripts/generate-page-cache.ts
env:
FIREBASE_PRIVATE_KEY_ID: ${{ secrets.FIREBASE_PRIVATE_KEY_ID }}
FIREBASE_PRIVATE_KEY: ${{ secrets.FIREBASE_PRIVATE_KEY }}
LOCALE: ${{ github.event.inputs.locale }}

4 changes: 2 additions & 2 deletions scripts/generate-page-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const app = initializeApp({
credential: cert({
'type': 'service_account',
'project_id': 'master-co',
'private_key_id': '08f827cdcaac4f21382b3c094f8163ba252969f8',
'private_key': '-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDgO2+z7PqU/Mz+\nHkw4h3iFbq0YRO8tdAJ6z97yoKyCAEVVHOsH1+MOYK1IZS7ogLqEfMhju1F/dqTP\nB7aR6F/0YoM69csfKR6ly1Wt8aPNESVtkZJpwMEX36c5uBfnPRE0IUu5VhBLVbRG\nNK0B2Rk72dnR2H/rh7uVe9ZB+06vzA5ysmPsvuW723vU23dM3C9Rs3eYY7XjV4gZ\npb+iAmfgZz82beHGUor4TPC5BKLt87vI2cWLOrsaU8AYfBHZqvllYzUGaTtUEgHD\nIGJcW67F9IpFVOd2IXBZf52eWWuHu6axRqadOrzr0/JgJvcjj2bUMLM1RESC1Wbx\nYvymoyXDAgMBAAECggEABGGU6qaQNNYFqVdtNNOMysqhTi6Wn8Q7AixKlmIGTNn1\ngNa6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b+LHSNepnyyYuesLNO+19/O++7f9/PjNo+N3qgc950VwrQ5qdlRx8\nvsMK6ASHi+ed2Nc6EGClBRNdrvUTWPxPZX+Cpxbmn0h4p64AnBYUx3SiQOfQAhHI\nqvLzmoTV5eKy7goBIwYllLs=\n-----END PRIVATE KEY-----\n',
'private_key_id': process.env.FIREBASE_PRIVATE_KEY_ID,
'private_key': process.env.FIREBASE_PRIVATE_KEY,
'client_email': '[email protected]',
'client_id': '101714252365624583952',
'auth_uri': 'https://accounts.google.com/o/oauth2/auth',
Expand Down

0 comments on commit 40eabf4

Please sign in to comment.