Skip to content

Latest commit

 

History

History
33 lines (29 loc) · 1.6 KB

README.md

File metadata and controls

33 lines (29 loc) · 1.6 KB

resume-api

Build status:

RESUME-API
CLEANUP

HOW TO USE:

  • Fork the repository to have your own copy of the code
  • Provision the service account in your GCP project with the following permissions:
    • Cloud Functions Admin
    • Service Account User
    • Storage Admin
  • Set the github secret (GCP_SERVICE_ACCOUNT) with the content of the service account json key
  • Set the following github variables:
    • (CLOUD_FUNCTION_NAME): name of the Cloud Function to create
    • (GCS_BUCKET_NAME): name of the Cloud Storage bucket to create
    • (GCS_FILE_NAME): name of the file to save to the bucket
    • (REGION): the region where Cloud Function will be deployed

(OPTIONAL) Push Notification via Pushover:

If you would like to run a test on successful build, add the following variable:

  • set the variable (RUN_TESTS) to true

If you would like to get push notifications on successful build or cleanup, add the following secrets and the variable:

  • set the secret (NOTIFY_TOKEN) to match your pushover key token
  • set the secret (NOTIFY_USER) to match your pushover user token
  • set the variable (NOTIFY) to true