Skip to content

Commit

Permalink
Create subdirectory before creating service account JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
aaditkamat committed Feb 26, 2024
1 parent 9ae980f commit 87dd43e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,18 @@ jobs:
run: npm ci
working-directory: server/

- name: Create subdirectory for service account JSON
run: |
mkdir private_key
working-directory: server/src

- name: Create service account JSON
id: create-service-acount-json
id: create-service-account-json
uses: jsdaniell/[email protected]
with:
name: "server/src/private_key/private.json"
name: "private.json"
json: ${{ secrets.SERVICE_ACCOUNT_SECRET }}
dir: 'server/src/private_key/'

- name: Compile TypeScript files
run: npx tsc
Expand Down

0 comments on commit 87dd43e

Please sign in to comment.