Skip to content

Commit

Permalink
try to rely on NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
lucia-gomez committed Mar 17, 2024
1 parent d3d627c commit fc43ad0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Push to Google Apps Script
run: |
cd media_commons_booking_app
echo "Yes" | npm run deploy
npm run deploy:dev
- name: Create new version and push
run: |
cd media_commons_booking_app
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ const SAFTY_TRAINING_SHEET_NAME = 'safety_training_users';
const INSTANT_APPROVAL_ROOMS = ['220', '221', '222', '223', '224', '233'];

const SheetEditor = () => {
console.log('DEPLOY ENVIRONMENT:', process.env.REACT_APP_ENVIRONMENT);
console.log(
'DEPLOY ENVIRONMENT:',
process.env.NODE_ENV,
process.env.REACT_APP_ENVIRONMENT,
process.env
);

const roomCalendarId = (room) => {
const roomById = findByRoomId(mappingRoomSettings, room.roomId);
Expand Down

0 comments on commit fc43ad0

Please sign in to comment.