Skip to content

Commit e059702

Browse files
committed
Demo version: Add working API keys for live demonstration
1 parent fe849a4 commit e059702

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ master, demo ]
66
pull_request:
7-
branches: [ master ]
7+
branches: [ master, demo ]
88

99
jobs:
1010
build-and-deploy:
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Deploy to GitHub Pages
3030
uses: peaceiris/actions-gh-pages@v3
31-
if: github.ref == 'refs/heads/master'
31+
if: github.ref == 'refs/heads/demo'
3232
with:
3333
github_token: ${{ secrets.GITHUB_TOKEN }}
3434
publish_dir: ./dist/video-games-db

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
An Angular application for browsing video games using the RAWG Video Games Database API.
44

5+
🚀 **[LIVE DEMO](https://2toml.github.io/ng-video-game-db/)** - Working demo with real API integration!
6+
57
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.2.
68

79
## Setup
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const environment = {
22
production: true,
33
BASE_URL: 'https://rawg-video-games-database.p.rapidapi.com',
4-
RAPIDAPI_KEY: 'YOUR_API_KEY_HERE',
4+
RAPIDAPI_KEY: 'edbb1b1bb3mshd01e55b2b432362p170af0jsnb241407192a4',
55
RAPIDAPI_HOST: 'rawg-video-games-database.p.rapidapi.com',
6-
RAWG_API_KEY: 'YOUR_RAWG_API_KEY_HERE'
6+
RAWG_API_KEY: 'e40e743af2c94b0c916a8aa618fb4473'
77
};

src/environments/environment.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export const environment = {
22
production: false,
33
BASE_URL: 'https://rawg-video-games-database.p.rapidapi.com',
4-
RAPIDAPI_KEY: 'YOUR_RAPIDAPI_KEY_HERE',
4+
RAPIDAPI_KEY: 'edbb1b1bb3mshd01e55b2b432362p170af0jsnb241407192a4',
55
RAPIDAPI_HOST: 'rawg-video-games-database.p.rapidapi.com',
6-
RAWG_API_KEY: 'YOUR_RAWG_API_KEY_HERE'
6+
RAWG_API_KEY: 'e40e743af2c94b0c916a8aa618fb4473'
77
};
88

0 commit comments

Comments
 (0)