Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: #130 missing client_id
  • Loading branch information
enriquezrene committed Apr 14, 2020
commit 63ceb24899c697e19c7b949e9f243609075425f4
4 changes: 3 additions & 1 deletion .github/workflows/CD-time-tracker-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ jobs:
SCOPES: ${{ secrets.scopes }}
CLIENT_ID: ${{ secrets.client_id }}
AUTHORITY: ${{ secrets.authority }}
run: sudo sh scripts/populate-keys.sh
run: |
chmod +x ./scripts/populate-keys.sh
sh ./scripts/populate-keys.sh

- name: 'run: npm install and build'
run: |
Expand Down
1 change: 1 addition & 0 deletions scripts/populate-keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
echo 'export const AUTHORITY = "'$AUTHORITY'";' >> src/environments/keys.ts
echo 'export const CLIENT_ID = "'$CLIENT_ID'";' >> src/environments/keys.ts
echo 'export const SCOPES = ["'$SCOPES'"];' >> src/environments/keys.ts
cat src/environments/keys.ts