Skip to content

Commit

Permalink
modify README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Swilder-M committed Mar 21, 2023
1 parent 6fd3516 commit 279c2a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
PSN_ACCESS_TOKEN: ${{ secrets.PSN_ACCESS_TOKEN }}
PSN_REFRESH_TOKEN: ${{ secrets.PSN_REFRESH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIST_ID: 441f57c231581fca04fb569fda82ec91
GIST_ID: ${{ secrets.GIST_ID }}
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@

### Preparation
1. Create a new public GitHub Gist at <https://gist.github.com/> and name it `playstation-box`.

2. Create a token with the `gist` and `repo` scopes, and copy it from https://github.com/settings/tokens/new.

3. Sign in to the PlayStation Store at <https://library.playstation.com/recently-purchased>.

4. Open the following link: <https://ca.account.sony.com/api/v1/ssocookie>, and copy the `npsso` value.

### Project Setup
1. Fork [this repository](https://github.com/Swilder-M/playstation-box).
2. Edit the [environment variable](https://github.com/Swilder-M/playstation-box/blob/master/.github/workflows/schedule.yml#LL18C20-L18C52) in `.github/workflows/schedule.yml`:
- GIST_ID: The ID portion from your gist URL: `https://gist.github.com/Swilder-M/`**`441f57c231581fca04fb569fda82ec91`**.
3. Go to the repository **Settings > Secrets**.
4. Add the following environment variables:
- **PSN_NPSSO:** The `npsso` value from the previous step.
- **GH_TOKEN:** The token you created in the preparation step.

2. Go to the repository **Settings > Secrets**.

3. Add the following environment variables:
- PSN_NPSSO: The `npsso` value from the preparation step.
- GH_TOKEN: The token you created in the preparation step.
- GIST_ID: The ID portion from your gist URL: `https://gist.github.com/your_name/<GIST_ID>`.

0 comments on commit 279c2a8

Please sign in to comment.