Skip to content

Commit

Permalink
Trying to fix netlify build
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Dec 19, 2024
1 parent a550bc4 commit 039f6b8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"npm": "^10.3.0"
},
"scripts": {
"build": "npm run setup-environment && npm run download-ics && npm run get-events && gatsby build",
"build": "npm run decrypt-service-account && npm run setup-environment && npm run download-ics && npm run get-events && gatsby build",
"develop": "npm run get-mock-events && gatsby develop",
"start": "gatsby develop",
"serve": "gatsby serve",
Expand All @@ -17,7 +17,7 @@
"lint-fix": "npm run lint -- --fix",
"get-mock-events": "node ./scripts/setMock.js",
"decrypt-service-account": "gpg --quiet --batch --yes --decrypt --passphrase=${GOOGLE_SERVICE_ACCOUNT_PASSPHRASE} --output calendar-service-account.json calendar-service-account.json.gpg",
"setup-environment": "GOOGLE_SERVICE_ACCOUNT_PASSPHRASE=`cat calendar-service-account.json`",
"setup-environment": "GOOGLE_SERVICE_ACCOUNT=`cat calendar-service-account.json`",
"download-ics": "npx mkdirp dist && curl -o dist/basic.ics https://calendar.google.com/calendar/ical/finos.org_fac8mo1rfc6ehscg0d80fi8jig%40group.calendar.google.com/public/basic.ics",
"get-events": "npx mkdirp dist && node ./scripts/googleapi2events.mjs",
"getEvents": "npm run get-events",
Expand Down
14 changes: 14 additions & 0 deletions src/components/test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"allDay": false,
"title": "FINOS InnerSource Special Interest Group",
"start": "2024-12-19T14:00:00Z",
"end": "2024-12-19T15:00:00Z",
"extendedProps": {
"description": "InnerSource SIG<br><u><a href=\"https://github.com/finos/InnerSource\"><u><u><u>https://github.com/finos/InnerSource</u></u></u></a></u><br><br>Join Zoom Meeting<br><a href=\"https://zoom.us/j/97717618541\"><u>https://zoom.us/j/97717618541</u></a><br><b>Meeting ID</b>: 977 1761 8541<br><b>Passcode</b>: 878599<br><br>One tap mobile<br>+15642172000,,94949043746# US<br>+16465588656,,94949043746# US (New York)<br><br>Dial by your location<br> +1 564 217 2000 US<br> +1 646 558 8656 US (New York)<br> +1 646 931 3860 US<br> +1 669 444 9171 US<br> +1 669 900 6833 US (San Jose)<br> +1 689 278 1000 US<br> +1 719 359 4580 US<br> +1 253 205 0468 US<br> +1 253 215 8782 US (Tacoma)<br> +1 301 715 8592 US (Washington DC)<br> +1 305 224 1968 US<br> +1 309 205 3325 US<br> +1 312 626 6799 US (Chicago)<br> +1 346 248 7799 US (Houston)<br> +1 360 209 5623 US<br> +1 386 347 5053 US<br> +1 507 473 4847 US<br> 855 880 1246 US Toll-free<br> 877 369 0926 US Toll-free<br> +1 647 374 4685 Canada<br> +1 647 558 0588 Canada<br> +1 778 907 2071 Canada<br> +1 780 666 0144 Canada<br> +1 204 272 7920 Canada<br> +1 438 809 7799 Canada<br> +1 587 328 1099 Canada<br> 855 703 8985 Canada Toll-free<br><br>Meeting ID: 949 4904 3746<br>Find your local number: <a href=\"https://zoom.us/u/adJnH9JOiY\"><u><u><u><u>https://zoom.us/u/adJnH9JOiY</u></u></u></u></a>",
"uid": "fj4kubfv329pe1ai3fg6ggid8c_20241210T150000Z",
"location": "https://zoom.us/j/97717618541",
"repeating": "RRULE:FREQ=MONTHLY;BYDAY=2TU",
"ics": "BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//sebbo.net//ical-generator//EN\r\nMETHOD:REQUEST\r\nNAME:FINOS InnerSource Special Interest Group\r\nX-WR-CALNAME:FINOS InnerSource Special Interest Group\r\nBEGIN:VEVENT\r\nUID:0675915d-354f-4bc9-9f64-48267718d455\r\nSEQUENCE:0\r\nDTSTAMP:20241217T120754Z\r\nDTSTART:20241219T140000Z\r\nDTEND:20241219T150000Z\r\nRRULE:FREQ=MONTHLY;BYDAY=2TU\r\nSUMMARY:FINOS InnerSource Special Interest Group\r\nDESCRIPTION:InnerSource SIG\\nhttps://github.com/finos/InnerSource\\n\\nJoin \r\n Zoom Meeting\\nhttps://zoom.us/j/97717618541\\nMeeting ID: 977 1761 8541\\nPa\r\n sscode: 878599\\n\\nOne tap mobile\\n+15642172000\\,\\,94949043746# US\\n+164655\r\n 88656\\,\\,94949043746# US (New York)\\n\\nDial by your location\\n \r\n +1 564 217 2000 US\\n +1 646 558 8656 US (New York)\\n \r\n +1 646 931 3860 US\\n +1 669 444 9171 US\\n \r\n +1 669 900 6833 US (San Jose)\\n +1 689 278 1000\r\n US\\n +1 719 359 4580 US\\n +1 253 205 0468 U\r\n S\\n +1 253 215 8782 US (Tacoma)\\n +1 301 715\r\n 8592 US (Washington DC)\\n +1 305 224 1968 US\\n \r\n +1 309 205 3325 US\\n +1 312 626 6799 US (Chicago)\\n \r\n +1 346 248 7799 US (Houston)\\n +1 360 209 5623 \r\n US\\n +1 386 347 5053 US\\n +1 507 473 4847 US\r\n \\n 855 880 1246 US Toll-free\\n 877 369 0926 \r\n US Toll-free\\n +1 647 374 4685 Canada\\n +1 6\r\n 47 558 0588 Canada\\n +1 778 907 2071 Canada\\n \r\n +1 780 666 0144 Canada\\n +1 204 272 7920 Canada\\n \r\n +1 438 809 7799 Canada\\n +1 587 328 1099 Canada\\n \r\n 855 703 8985 Canada Toll-free\\n\\nMeeting ID: 949 4904 3746\\n\r\n Find your local number: https://zoom.us/u/adJnH9JOiY\r\nEND:VEVENT\r\nEND:VCALENDAR",
"rootIcsLink": "fj4kubfv329pe1ai3fg6ggid8c.ics"
}
}
2 changes: 1 addition & 1 deletion src/pages/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function App({ location }) {

if (isSubmitted) {
return (
<div className="success-screen">
<div className="signup form-container">
<h2>Thank you for signing up!</h2>
<p>Please check your inbox for a calendar invite for <b>{params.get("title")}</b>.</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ body {

button.fc-button {
flex: 1;
height: 2rem;
}

button.fc-button.finos-calendar-event-details-close {
border: none;
font-size: 1.5rem;
cursor: pointer;
display: grid;
Expand Down

0 comments on commit 039f6b8

Please sign in to comment.