Skip to content

Commit 3a46ed5

Browse files
committed
fix: README
1 parent 061ffa6 commit 3a46ed5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/push-to-EC2.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_id
1111
jobs:
12-
setup:
12+
deploy:
1313
name: Set-up
1414
runs-on: ubuntu-latest
1515
steps:

README.MD

+2-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ This instruction page assumes you already have Node.js, NPM installed
184184
3. **Create a service account:** In the GCP Console, navigate to **IAM & Admin > Service Accounts**. Click on the **Create Service Account** button. Provide a name and description for the service account, and click **Create**. Make sure to grant the service account the necessary permissions to manage calendars by assigning the **Calendar role**.
185185
4. **Generate and download the credentials:** After creating the service account, click on the service account's name to view its details. Navigate to the **Keys** tab, and click on **Add Key > Create new key**. Select **JSON** as the key type and click **Create**. This will download a JSON file containing the service account's credentials. Rename the downloaded file to **`credentials.json`**.
186186
5. **Add the service account to the calendar:** Share the calendar you want to manage with the service account. In the calendar's settings, go to the **Share with specific people** section and enter the email address associated with the service account (found in the **`credentials.json`** file) to grant it access to the calendar.
187-
6. **Place credentials.json in the project:** Move the **`credentials.json`** file to the **`/src`** directory of your project. This file will be used to authenticate and authorize your application to access the Google Calendar API.
187+
188+
_You will place credentials.json in the `.env` file_
188189

189190
_For additional clarification or assistance, you can refer to this [comment](https://stackoverflow.com/a/26067547/18686901) or feel free to [contact me](#contact)._
190191

0 commit comments

Comments
 (0)