Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Google Drive functions #74

Merged
merged 4 commits into from
Dec 15, 2023
Merged

Import Google Drive functions #74

merged 4 commits into from
Dec 15, 2023

Conversation

samderanova
Copy link
Contributor

This pull request imports the functions used to upload a file to Google Drive from last year's website.

The following environment variables are required:

  • RESUMES_FOLDER_ID: the ID of the Google Drive folder to upload to
  • Either SERVICE_ACCOUNT_FILE or GOOGLE_SERVICE_ACCOUNT_CREDENTIALS: We use a Google service acccount in tandem with aiogoogle to automatically upload resumes when submitting a form. The keys are JSON that can either be stored in a file, in which case the path of the file should be stored in SERVICE_ACCOUNT_FILE, or be stored directly in GOOGLE_SERVICE_ACCOUNT_CREDENTIALS. For local development, it is recommended to take the SERVICE_ACCOUNT_FILE approach.

@samderanova samderanova linked an issue Dec 12, 2023 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Dec 12, 2023

Deploy preview for irvinehacks-site-2024-sanity ready!

Name Sanity Studio
Preview Visit Preview
Commit be2c152

Copy link
Contributor

github-actions bot commented Dec 12, 2023

Deploy preview for irvinehacks-site-2024 ready!

Name IrvineHacks 2024 Site
Preview Visit Preview
Commit be2c152

Copy link
Member

@taesungh taesungh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the stubs. Trusting things from last year will work as is.

@samderanova samderanova merged commit 633bc37 into main Dec 15, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle resume uploads
3 participants